Skip to content

Commit

Permalink
fixed service ticket route for Rals 2.x line
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Aug 9, 2011
1 parent 4500884 commit 83338bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise_cas_authenticatable/routes.rb
Expand Up @@ -24,7 +24,7 @@ def devise_cas_authenticatable(mapping, controllers)

def cas_authenticatable(routes, mapping)
routes.with_options(:controller => 'devise/cas_sessions', :name_prefix => nil) do |session|
session.send(:"#{mapping.name}_service", '/', :action => 'service', :conditions => {:method => :get})
session.send(:"#{mapping.name}_service", '/service', :action => 'service', :conditions => {:method => :get})
session.send(:"unregistered_#{mapping.name}_session", '/unregistered', :action => "unregistered", :conditions => {:method => :get})
session.send(:"new_#{mapping.name}_session", mapping.path_names[:sign_in], :action => 'new', :conditions => {:method => :get})
session.send(:"#{mapping.name}_session", mapping.path_names[:sign_in], :action => 'create', :conditions => {:method => :post})
Expand Down

0 comments on commit 83338bc

Please sign in to comment.