Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # routes.rb
- root :to => 'pages#home'
- resources :sessions, :only => [:new, :create, :destroy]
- resources :works
- resources :categories
- resources :articles
- resources :exhibits
- match '/signin', :to => 'sessions#new'
- match '/signout', :to => 'sessions#destroy'
- match '/info', :to => 'pages#info'
- match '/admin/drafts', :to => 'pages#drafts'
Add Comment
Please, Sign In to add comment