mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Adding a sidebar tab
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
window.ForgotSidebarCtrl = Darkswarm.controller "ForgotSidebarCtrl", ($scope, $http, $location) ->
|
||||
$scope.active = ->
|
||||
$location.path() == '/forgot'
|
||||
|
||||
$scope.select = ->
|
||||
$location.path("/forgot")
|
||||
@@ -1,3 +1,3 @@
|
||||
window.SidebarCtrl = Darkswarm.controller "SidebarCtrl", ($scope, $location) ->
|
||||
$scope.active = ->
|
||||
$location.path() in ["/login", "/signup"]
|
||||
$location.path() in ["/login", "/signup", "/forgot"]
|
||||
|
||||
Reference in New Issue
Block a user