class TermsController < ApplicationController

  before_filter :store_location
  layout 'relaunch'
  def index
  end

  protected

  def store_location
    Rails.logger.info("REF: #{request.referer}")
    session[:user_return_to] = request.referer # unless request.referer == terms_url
    Rails.logger.info(session[:user_return_to])
  end
end
class TermsController < ApplicationController

  before_filter :store_location

  def index
  end

  protected

  def store_location
    Rails.logger.info("REF: #{request.referer}")
    session[:user_return_to] = request.referer # unless request.referer == terms_url
    Rails.logger.info(session[:user_return_to])
  end
end
--- 
+++ 
@@ -1,7 +1,7 @@
 class TermsController < ApplicationController
 
   before_filter :store_location
-
+  layout 'relaunch'
   def index
   end
 
Use new layout for terms controller.
