Sha256: aeb8b2377b726e7f730caffbafda95ad361ad2a17eefa48c21988838f8b429ac
Contents?: true
Size: 579 Bytes
Versions: 49
Compression:
Stored size: 579 Bytes
Contents
module <%= controller_class.deconstantize %> class <%= controller_class.demodulize %> < <%= current_engine.chomp('::Engine') %>::Configuration.base_controller.constantize include Rao::ResourceController::RestActionsConcern include Rao::ResourceController::ResourceConcern include Rao::Resourcesontroller::RestResourceUrlsConcern include Rao::ResourceController::ResourceInflectionsConcern def self.resource_class <%= resource_class %> end private def permitted_params params.require(:<%= params_name %>).permit() end end end
Version data entries
49 entries across 49 versions & 1 rubygems