Sha256: afebf6790c33086b5e6a25986dd3ceb662af9ca5b0820fe5a2e4b494f2aa6511

Contents?: true

Size: 304 Bytes

Versions: 50

Compression:

Stored size: 304 Bytes

Contents

module <%= controller_class.deconstantize %>
  class <%= controller_class.demodulize %> < Cmor::Core::Backend::ServiceController::Base
    def self.service_class
      <%= service_class %>
    end

    private

    def permitted_params
      params.require(:<%= params_name %>).permit()
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
cmor_core_backend-0.0.60.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.59.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.58.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.57.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.56.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.55.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.54.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.53.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.52.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.51.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.50.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.49.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.48.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.45.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.44.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.43.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.42.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.41.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.40.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb
cmor_core_backend-0.0.39.pre lib/generators/cmor/core/backend/service_controller/templates/service_controller.rb