mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-06 07:29:16 +00:00
Rename PageSelectionCtrl for clarity
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Darkswarm.controller "PagesetCtrl", ($scope, $location) ->
|
||||
Darkswarm.controller "PageSelectionCtrl", ($scope, $location) ->
|
||||
$scope.selected = ->
|
||||
$location.path()[1..] || $scope.defaultPage
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
- shop_tabs.each do |tab|
|
||||
= render "shopping_shared/tabs/#{tab[:name]}"
|
||||
|
||||
#shop-tabs{ ng: { controller: "PagesetCtrl", init: "selectDefault('#{shop_tabs.first[:name]}')", cloak: true } }
|
||||
#shop-tabs{ ng: { controller: "PageSelectionCtrl", init: "selectDefault('#{shop_tabs.first[:name]}')", cloak: true } }
|
||||
.tab-buttons
|
||||
.row
|
||||
.columns.small-12.large-8
|
||||
|
||||
Reference in New Issue
Block a user