FrontpageController.class_eval do
  def terms_of_service
  end
end

FrontpageController.class_eval do
  before_filter :delete_redirect, only: :index

  def terms_of_service
  end

  private

  def delete_redirect
    session.delete("user_return_to")
  end
end

Remove user_return_to info in frontpage
Remove user_return_to info in frontpage
