aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-10-21 22:15:08 +0200
committerHarald Eilertsen <haraldei@anduin.net>2013-10-21 22:15:08 +0200
commit9488eb8b6e96dbb66d9541415ed6237034fda675 (patch)
tree4981b1cf4c12f90850ef051872dac0bfbfdbc5f3
parent2652e9bb2dcc8a0eaf2e314a6107c52d8b3b6469 (diff)
downloadhmnoweb-9488eb8b6e96dbb66d9541415ed6237034fda675.tar.gz
hmnoweb-9488eb8b6e96dbb66d9541415ed6237034fda675.tar.bz2
hmnoweb-9488eb8b6e96dbb66d9541415ed6237034fda675.zip
Hide submenu's for now.
-rw-r--r--config/deploy/refinery_setup.rb1
-rw-r--r--config/initializers/refinery/core.rb.example2
2 files changed, 2 insertions, 1 deletions
diff --git a/config/deploy/refinery_setup.rb b/config/deploy/refinery_setup.rb
index cff5b98..69c75b4 100644
--- a/config/deploy/refinery_setup.rb
+++ b/config/deploy/refinery_setup.rb
@@ -29,6 +29,7 @@ Capistrano::Configuration.instance.load do
config.dragonfly_secret = "#{SecureRandom.hex(24)}"
config.ie6_upgrade_message_enabled = true
config.show_internet_explorer_upgrade_message = false
+ config.menu_hide_children = true
end
EOF
diff --git a/config/initializers/refinery/core.rb.example b/config/initializers/refinery/core.rb.example
index 1bc65ee..29a4b1c 100644
--- a/config/initializers/refinery/core.rb.example
+++ b/config/initializers/refinery/core.rb.example
@@ -26,7 +26,7 @@ Refinery::Core.configure do |config|
# config.authenticity_token_on_frontend = true
# Hide/show child pages in menu
- # config.menu_hide_children = false
+ config.menu_hide_children = true
# CSS class selectors for menu helper
# config.menu_css = {:selected=>"selected", :first=>"first", :last=>"last"}