Class: QaServer::FetchController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- QaServer::FetchController
- Defined in:
- app/controllers/qa_server/fetch_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
Sets up presenter with data to display in the UI.
Instance Method Details
#index ⇒ Object
Sets up presenter with data to display in the UI
14 15 16 17 18 19 20 21 |
# File 'app/controllers/qa_server/fetch_controller.rb', line 14 def index flash[:error] = "Authority is required." if uri? && ! @presenter = presenter_class.new(authorities_list: , authority: , uri: uri, format: format, term_results: term_results) end |