Sha256: 1c9011eb252724487cbeafc8b4c90c2414338360d8a1dd3a7799ad92a050408a
Contents?: true
Size: 570 Bytes
Versions: 49
Compression:
Stored size: 570 Bytes
Contents
module <%= controller_class.deconstantize %> class <%= controller_class.demodulize %> < <%= current_engine.chomp('::Engine') %>::Configuration.base_controller.constantize include Rao::ServiceController::RestActionsConcern include Rao::ServiceController::ServiceConcern include Rao::ServiceController::RestServiceUrlsConcern include Rao::ServiceController::ServiceInflectionsConcern def self.service_class <%= service_class %> end private def permitted_params params.require(:<%= params_name %>).permit() end end end
Version data entries
49 entries across 49 versions & 1 rubygems