module ActionDispatch::Routing::Mapper::Resources
Public Instance Methods
resources(*resources, &block)
Also aliased as: resources_without_commandable
Alias for: resources_with_commandable
resources_with_commandable(*resources, &block)
click to toggle source
# File lib/express_admin/commandable.rb, line 57 def resources_with_commandable(*resources, &block) unless @concerns[:commandable] concern :commandable, ExpressAdmin::Commandable.new end resources_without_commandable(*resources) do |resource| block.call(resource) unless block.nil? concerns :commandable end end
Also aliased as: resources