Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 389 Bytes
define ["Ural/routerBase"], (routerBase) ->
class Router extends routerBase.RouterBase
constructor: ->
super "Controllers", "product/index"
onRouteChanged: (controller, action) ->
$(".navbar .nav li.active").removeClass "active"
$(".navbar .nav a[href='##{controller}/#{action}']").parent().addClass "active"
super controller, action
Router : Router
Jump to Line
Something went wrong with that request. Please try again.