Sha256: bcefcd84a857b09a32dcc5c12f6a08c842941da5604c59c2fe9946bf673e8f77
Contents?: true
Size: 767 Bytes
Versions: 15
Compression:
Stored size: 767 Bytes
Contents
Rails.application.routes.draw do namespace :cms_admin, :path => ComfortableMexicanSofa.config.admin_route_prefix, :except => :show do get '/' => redirect(ComfortableMexicanSofa.config.admin_route_redirect) resources :pages do member do match :form_blocks match :toggle_branch end collection do match :reorder end end resources :sites resources :layouts resources :snippets resources :uploads, :only => [:create, :destroy] end scope :controller => :cms_content do get '/cms-css/:id' => :render_css, :as => 'cms_css' get '/cms-js/:id' => :render_js, :as => 'cms_js' get '/' => :render_html, :as => 'cms_html', :path => '(*cms_path)' end end
Version data entries
15 entries across 15 versions & 1 rubygems