Sha256: c214bc55f7349d19210df8e0e20bfe20da6599f6498fd699e2f265c31c8ce8a4
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
Rails::Application.routes.draw do |map| namespace :grandstand, Grandstand.routing_options do resource :session do member do get :forgot post :reset end end root :to => 'main#index' get 'expand', :to => 'main#expand' resources :galleries do collection do post :reorder end member do get :delete end resources :images do collection do post :reorder get :upload end member do get :delete end end end resources :pages do collection do post :reorder end member do get :delete end end resources :posts do member do get :delete end end resources :templates resources :users do member do get :delete end end end match '*url', :to => 'pages#show', :as => 'page' # if Rails.env.development? # require 'grandstand/stylesheets_controller' # namespace :grandstand do # get 'stylesheets/:name.css', :to => 'stylesheets#show' # end # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grandstand-0.3.0 | config/routes.rb |