Sha256: cf0dffb680b78d055d7bac4fe105c5852994f47e2e4ce411cbdd1ce17bd71225

Contents?: true

Size: 283 Bytes

Versions: 57

Compression:

Stored size: 283 Bytes

Contents

module Cmor::Tags::Backend
  class TagsController < Cmor::Core::Backend::ResourcesController::Base
    def self.resource_class
      Cmor::Tags::Tag
    end

    respond_to :js

    private

    def permitted_params
      params.require(:tag).permit(:name, :color)
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_tags_backend-0.0.60.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.59.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.58.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.57.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.56.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.55.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.54.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.53.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.52.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.51.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.50.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.49.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.48.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.45.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.44.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.43.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.42.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.41.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.40.pre app/controllers/cmor/tags/backend/tags_controller.rb
cmor_tags_backend-0.0.39.pre app/controllers/cmor/tags/backend/tags_controller.rb