Module: LotusAdmin::ResourcefulController
- Extended by:
- ActiveSupport::Concern
- Included in:
- AuthenticatedController
- Defined in:
- app/controllers/concerns/lotus_admin/resourceful_controller.rb
Instance Method Summary collapse
Instance Method Details
#index(&block) ⇒ Object
18 19 20 21 22 23 24 |
# File 'app/controllers/concerns/lotus_admin/resourceful_controller.rb', line 18 def index(&block) respond_to do |format| format.html block.call(format) if block.present? end end |