Sha256: 051c87ee03a099fa77e1d0eed6440370df3584624222c8b07595e54c3c8d49ab
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 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(:download_category) .permit(:name, :description, :locale) end def load_resource load_scope.friendly.find(params[:id]) end end
Version data entries
3 entries across 3 versions & 1 rubygems