Rails 4 update.

This commit is contained in:
Señor Rolando 2013-11-02 15:07:14 +01:00
parent 0317602854
commit 3a50f77a7c
4 changed files with 132 additions and 173 deletions

View file

@ -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"