I got error while I try this:
My controller is :
class SessionsController < Devise::SessionsController
resource = warden.authenticate!(:scope => resource_name, :recall =>
subdomain_name = current_user.account.subdomain_name
redirect_to root_url(:subdomain => subdomain_name)
and when I try to redirect I have got
in rails console
where it should be http://kausik.localhost:3000/
Please help to fix this
Thanks in Advance
Posted via http://www.ruby-forum.com/.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.