mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
Switching to separate controllers for ze sidebar
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
window.LoginSidebarCtrl = Darkswarm.controller "LoginSidebarCtrl", ($scope) ->
|
||||
$scope.active = ->
|
||||
$scope.active_sidebar == '/login'
|
||||
@@ -0,0 +1,3 @@
|
||||
window.SignupSidebarCtrl = Darkswarm.controller "SignupSidebarCtrl", ($scope) ->
|
||||
$scope.active = ->
|
||||
$scope.active_sidebar == '/signup'
|
||||
Reference in New Issue
Block a user