Sha256: 7dbbf534fe1d1300cfc549abad8a6cdaa6e032993bdbc04f9377303c63f714c1

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

class Ecm::Downloads::Backend::DownloadCategoriesController < Itsf::Backend::Resource::BaseController
  def self.resource_class
    Ecm::Downloads::DownloadCategory
  end

  private

  def permitted_params
    params
      .require(:ecm_downloads_download_category)
        .permit(:name, :description, :locale)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_downloads2_backend-1.0.0 app/controllers/ecm/downloads/backend/download_categories_controller.rb