Rails 4 update.
This commit is contained in:
parent
0317602854
commit
3a50f77a7c
4 changed files with 132 additions and 173 deletions
|
|
@ -9,7 +9,7 @@ ContactORama::Application.routes.draw do
|
|||
end
|
||||
resources :contacts
|
||||
|
||||
match 'uielements/' => 'uielements#index'
|
||||
get 'uielements/', to: 'uielements#index'
|
||||
|
||||
# The priority is based upon order of creation:
|
||||
# first created -> highest priority.
|
||||
|
|
@ -60,9 +60,9 @@ ContactORama::Application.routes.draw do
|
|||
|
||||
# Use CanCan to (optionally) lead logged in users to someplace special.
|
||||
# http://railsapps.github.com/tutorial-rails-bootstrap-devise-cancan.html
|
||||
authenticated :user do
|
||||
root :to => 'welcome#index'
|
||||
end
|
||||
# authenticated :user do
|
||||
# root :to => 'welcome#index'
|
||||
# end
|
||||
root :to => "welcome#index"
|
||||
|
||||
# See how all your routes lay out with "rake routes"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue