Rename PageSelectionCtrl for clarity

This commit is contained in:
Maikel Linke
2020-03-12 09:36:46 +11:00
parent 4b8d9d18d7
commit 17751c448f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
Darkswarm.controller "PagesetCtrl", ($scope, $location) ->
Darkswarm.controller "PageSelectionCtrl", ($scope, $location) ->
$scope.selected = ->
$location.path()[1..] || $scope.defaultPage

View File

@@ -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