Module: RefurlHelper

Included in:
Xrono::ApplicationController
Defined in:
app/helpers/refurl_helper.rb

Instance Method Summary collapse

Instance Method Details

#redirect_to_ref_urlObject



2
3
4
5
6
7
8
# File 'app/helpers/refurl_helper.rb', line 2

def redirect_to_ref_url
  if params[:refurl]
    redirect_to params[:refurl]
  else
    redirect_to root_path
  end
end