added config option for including of default routes
Olli Huotari
committed Feb 12, 2012
commit d2b7802722abd4a296aa519b84e788a6e21372a6
Showing 1
changed file with
3 additions
and 3 deletions
config/routes.rb
+3
-3
| @@ | @@ -1,5 +1,5 @@ |
| Rails.application.routes.draw do | |
| - | |
| + | |
| namespace :cms_admin, :path => ComfortableMexicanSofa.config.admin_route_prefix, :except => :show do | |
| get '/', :to => 'base#jump' | |
| resources :sites do | |
| @@ | @@ -39,6 +39,6 @@ Rails.application.routes.draw do |
| :constraints => {:format => /xml/}, | |
| :format => :xml | |
| get '/' => :render_html, :as => 'cms_html', :path => "(*cms_path)" | |
| - | end if ComfortableMexicanSofa.config.include_default_routes |
| + | end |
| - | end |
| + | end if ComfortableMexicanSofa.config.include_default_routes |