I wonder if there is a standard Rails way to redirect from an action
back to a previously viewed page. As a quick fix I created two little
methods in the controllers/application.rb. Does this seem like an ok
way to go?
class ApplicationController < ActionController::Base
session[:i_was_here] = request.env[‘REQUEST_URI’]