Module: Grass::Front::Helper

Included in:
Grass::Front
Defined in:
lib/grass/endpoints/front.rb

Instance Method Summary collapse

Instance Method Details

#request_dataObject



16
17
18
19
20
21
22
23
24
# File 'lib/grass/endpoints/front.rb', line 16

def request_data
  {
    language_info: language_info(), 
    country_info: country_info(), 
    params: params,           
    http_host: env['HTTP_HOST'], 
    request_path: env["REQUEST_PATH"]
  }
end