Sha256: c2f3c60bab2d6c6b1898c13fd06dc5b464103479423466675a48d524f611bc87
Contents?: true
Size: 619 Bytes
Versions: 12
Compression:
Stored size: 619 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.namespace :cms do |cms| cms.resources :components, :only => [], :collection => {:upload => :post} cms.connect 'components/:action/*url', :controller => 'components' cms.resources :assets, :except => :index cms.resources :pages, :except => [:index, :show] cms.documentation 'documentation', :controller => 'documentation', :action => 'index' cms.connect ':path/:id.:format', :controller => 'pages', :action => 'page_asset', :requirements => {:path => /javascripts|stylesheets/} cms.root :controller => :main, :action => :index end end
Version data entries
12 entries across 12 versions & 1 rubygems