aboutsummaryrefslogtreecommitdiffstats
path: root/lib/config/custom-routes.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-27 13:15:34 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-27 13:15:34 +0000
commit7a758a657e10c5b6a11355c9dad205178342096f (patch)
treef83cccdf28c68697966420c183259dd6aa6ac06b /lib/config/custom-routes.rb
parentece7981356e8b5dc9dd81a34b54f0666a81a462b (diff)
Add examples of how a user might customise:
* routes * gettext translations * categories
Diffstat (limited to 'lib/config/custom-routes.rb')
-rw-r--r--lib/config/custom-routes.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/config/custom-routes.rb b/lib/config/custom-routes.rb
new file mode 100644
index 0000000..2c1b9cc
--- /dev/null
+++ b/lib/config/custom-routes.rb
@@ -0,0 +1,8 @@
+# Here you can override or add to the pages in the core website
+
+ActionController::Routing::Routes.draw do |map|
+ # Additional help page example
+ map.with_options :controller => 'help' do |help|
+ help.help_out '/help/help_out', :action => 'help_out'
+ end
+end