aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-07-16 08:45:10 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-07-16 08:45:10 +0100
commit8e4dca730685755c6e1ea268a48a1ecd0dd384fb (patch)
treeb0b7a60aecb9364e6f80fcf16a8534b6a4a311f6
parent4880d376edcdf9baec767e7a78c3bf8374e1f4fc (diff)
Note that custom routes file needs a unique name
-rw-r--r--lib/alavetelitheme.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb
index 889bd05..77b20de 100644
--- a/lib/alavetelitheme.rb
+++ b/lib/alavetelitheme.rb
@@ -29,4 +29,6 @@ for patch in ['controller_patches.rb',
require File.expand_path "../#{patch}", __FILE__
end
+# Note you should rename the file at "config/custom-routes.rb" to
+# something unique (e.g. yourtheme-custom-routes.rb":
$alaveteli_route_extensions << 'custom-routes.rb'