diff --git a/examples/rails_openid/app/controllers/consumer_controller.rb b/examples/rails_openid/app/controllers/consumer_controller.rb index 37dd3bbd..a42b2724 100644 --- a/examples/rails_openid/app/controllers/consumer_controller.rb +++ b/examples/rails_openid/app/controllers/consumer_controller.rb @@ -46,7 +46,7 @@ def start oidreq.return_to_args['force_post']='x'*2048 end return_to = url_for :action => 'complete', :only_path => false - realm = url_for :action => 'index', :only_path => false + realm = url_for :action => 'index', :id => nil, :only_path => false if oidreq.send_redirect?(realm, return_to, params[:immediate]) redirect_to oidreq.redirect_url(realm, return_to, params[:immediate])