Module: Undercarriage::Controllers::Restful::Actions::ShowConcern

Extended by:
ActiveSupport::Concern
Defined in:
lib/undercarriage/controllers/restful/actions/show_concern.rb

Overview

Show restful action

Examples:

Controller

class ExamplesController < ApplicationController
  include Undercarriage::Controllers::Restful::Actions::ShowConcern
end

Instance Method Summary collapse

Instance Method Details

#showObject

Show action

Examples:

Controller

class ExamplesController < ApplicationController
  include Undercarriage::Controllers::RestfulConcern

  ##
  # This method is only needed if you want to override the action entirely. Otherwise, it is not needed.
  # Database resources can be accessed as `@show_resource` or `@example`
  #
  # def show
  #   ...
  # end
end


41
# File 'lib/undercarriage/controllers/restful/actions/show_concern.rb', line 41

def show; end