Rail Spikes: Quick tip: store_location with subdomains


/ Published in: Rails
Save to your folder(s)



Copy this code and paste it in your HTML
  1. def store_location_with_domain session[:return_to] = request.url end

URL: http://www.railspikes.com/2008/5/1/quick-tip-store_location-with-subdomains

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.