An ActionView::Template::Error occurred in home#index: undefined method `kiosks' for nil:NilClass

An ActionView::Template::Error occurred in home#index:

 undefined method `kiosks' for nil:NilClass
 app/helpers/home_helper.rb:26:in `facility_tabs_deployment_info'


-------------------------------
Request:
-------------------------------

 * URL        : https://www.bikelink.org/
 * HTTP Method: GET
 * IP address : 67.207.222.182
 * Parameters : {"controller"=>"home", "action"=>"index"}
 * Timestamp  : 2021-02-01 23:30:34 UTC
 * Server : www-4.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 20555

-------------------------------
Session:
-------------------------------

 * session id: [FILTERED]
 * data: {"session_id"=>"3d005188705b896eef4f9bde4caa94d8",
  "warden.user.person.key"=>[[47731], "W5dx4rDHm73LuvuxFTxA"],
  "flash"=>{"discard"=>[], "flashes"=>{"notice"=>"Signed in successfully."}}}

-------------------------------
Backtrace:
-------------------------------

 app/helpers/home_helper.rb:26:in `facility_tabs_deployment_info'
 app/views/home/facility_owner_index/_table.html.erb:18:in `_app_views_home_facility_owner_index__table_html_erb___3529751975155633394_47240237565320'
 app/views/home/facility_owner_index.html.erb:16:in `_app_views_home_facility_owner_index_html_erb__2012829453424281533_47240237284860'
 app/controllers/home_controller.rb:124:in `index_method_resolver'
 app/controllers/home_controller.rb:109:in `index'

Znovu načítať