Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small named routes change

  • Loading branch information...
commit 45f6893993df7938bcc4ebfb35f5c80562647e58 1 parent f60d0a0
@senior senior authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 config/named_routes_overrides.rb
View
8 config/named_routes_overrides.rb
@@ -1,13 +1,13 @@
Rails.application.routes.draw do
devise_for :users,
- :only => :sign_in,
+
:path_names => {:sign_in => 'login', :sign_up => 'activation'},
- :path => '',
- :controllers => {:sign_in => 'attendee_login/create', :sign_up => 'account_activation/create'} do
+ :path => '',
+ :controllers => {:sign_up => 'account_activation/create'} do
#any additional user session routes would be defined here
end
- get "static/home", :as=>"user_root"
+ get "attendees/index", :as=>"root"
end

0 comments on commit 45f6893

Please sign in to comment.
Something went wrong with that request. Please try again.