Module: ProjectlockerErrata::Rails::ControllerMethods

Defined in:
lib/projectlocker_errata/rails/controller_methods.rb

Instance Method Summary collapse

Instance Method Details

#projectlocker_errata_request_dataObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/projectlocker_errata/rails/controller_methods.rb', line 5

def projectlocker_errata_request_data
  {
    :parameters       => projectlocker_errata_filter_if_filtering(params.to_hash),
    :session_data     => projectlocker_errata_filter_if_filtering(projectlocker_errata_session_data),
    :controller       => params[:controller],
    :action           => params[:action],
    :url              => projectlocker_errata_request_url,
    :cgi_data         => projectlocker_errata_filter_if_filtering(request.env),
    :user             => projectlocker_errata_current_user
  }
end