Permalink
Browse files

no need for the /wiki redirect. This was a hack because of the way we…

… were doing paths before, but now with the content being stored in the root of the wiki branch, all is good again.
  • Loading branch information...
1 parent 04a1f80 commit cb667dcdc5c803bea6711a115413a5231e77159b @cv cv committed Mar 15, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 config/routes.rb
View
@@ -12,8 +12,7 @@
Precious::App.set(:wiki_options, ref: 'wiki', universal_toc: false)
mount Precious::App => '/admin'
- get '/wiki/:page' => 'wiki#display', as: :wiki
- get '/:page' => redirect('/wiki/%{page}')
+ get '/:page' => 'wiki#display', as: :wiki
# The priority is based upon order of creation:
# first created -> highest priority.

0 comments on commit cb667dc

Please sign in to comment.