This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Initialize a basic Teambox app | |
Teambox.Apps.BreadFish = Teambox.BaseApp.extend({}); | |
// Router to handle paths (in this case, /#!/breadfish) with regular links | |
Teambox.Apps.BreadFish.Controller = Teambox.Controllers.BaseController.extend({ | |
routes: { '!/breadfish' : 'index' }, | |
index: function () { | |
// Helper Teambox function to highlight the sidebar | |
Teambox.Views.Sidebar.highlightSidebar('breadfish_link'); |