Sha256: c054a1facee5092e1f47616505ca998740a5d570a14b5ed4f91167a1b32dc8d4
Contents?: true
Size: 1011 Bytes
Versions: 1
Compression:
Stored size: 1011 Bytes
Contents
Rails::Application.routes.draw do # resources :users, :only => [:index] do # get :expire, :on => :member # end # # resources :admins, :only => [:index] # # devise_for :users # devise_for :admin, :as => "admin_area", :controllers => { :sessions => "sessions" } # devise_for :accounts, :scope => "manager", :path_prefix => ":locale", # :class_name => "User", :path_names => { # :sign_in => "login", :sign_out => "logout", # :password => "secret", :confirmation => "verification", # :unlock => "unblock", :sign_up => "register" # } # # match "/admin_area/home", :to => "admins#index", :as => :admin_root # match "/sign_in", :to => "devise/sessions#new" resources :pages, :controller => 'content_engine/pages' resources :articles, :controller => 'content_engine/articles' match "/:year/:month/:id", :to => "content_engine/articles#show", :requirements => {:year => /\d{4}/, :month => /\d{2}/} match "/*url", :to => 'content_engine/pages#lookup' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
content_engine-0.1.0 | config/routes.rb |