Sha256: 61bc7c7b87279e4a64bea74ab2dac8af05e2b354c0bcac6ba77a1e54cc300861
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
module ActionDispatch::Routing class Mapper def wheels_resources resources :access_control_entries resources :app_configs do member do get :css end end resources :blogs, :path=>"blog" resources :external_links resources :feedbacks, :path=>"feedback", :only=>[:new, :index, :create] resources :forums do resources :discussions do resources :forum_messages end end resources :galleries do resources :images end resources :layouts resources :menus resources :pages do resources :attachments resources :children, :controller=>"pages", :as => "children" end resource :profile resources :sitemaps devise_for :users resources :users do resources :blogs, :path=>"blog" resources :galleries resource :profile member do get :verify end end match '/css' => 'app_configs#css' match '/admin' => "sitemaps#index" match "change_password" => "users#edit" match "verify_password" => "users#verify", :format=>:json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.1.9 | lib/wheels/routes.rb |