Class: Renalware::Pathology::Requests::RulesController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- BaseController
- Renalware::Pathology::Requests::RulesController
- Defined in:
- app/controllers/renalware/pathology/requests/rules_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#index ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'app/controllers/renalware/pathology/requests/rules_controller.rb', line 9 def index rule_sets = GlobalRuleSet.all clinics = Renalware::Pathology::Clinic.for_algorithm rule_sets rules_table = GlobalRuleSetsTable.new( Renalware::Pathology::RequestDescription.with_global_rule_set, clinics, GlobalRuleSetPresenter.present(rule_sets) ) render :index, locals: { rules_table: rules_table, clinics: clinics } end |