Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.389 kB
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.