module SnFoil::Controller::Concerns::ShowControllerConcern

Public Instance Methods

process_show(**options) click to toggle source
# File lib/sn_foil/controller/concerns/show_controller_concern.rb, line 26
def process_show(**options)
  current_context(**options).show(**options)
end
render_show(model, **_options) click to toggle source
# File lib/sn_foil/controller/concerns/show_controller_concern.rb, line 30
def render_show(model, **_options)
  render model
end
setup_show(**options) click to toggle source
# File lib/sn_foil/controller/concerns/show_controller_concern.rb, line 22
def setup_show(**options)
  setup_options(**options)
end
show(**options) click to toggle source
# File lib/sn_foil/controller/concerns/show_controller_concern.rb, line 16
def show(**options)
  options = setup_show(**options)
  model = process_show(**options)
  render_show(model, **options)
end