Sha256: 8983c6a792a54b0517c0af812202b4f5413f9a59a3d3c09f8d65d121848db497
Contents?: true
Size: 780 Bytes
Versions: 2
Compression:
Stored size: 780 Bytes
Contents
class Ecm::Youtube::Backend::CategoriesController < Itsf::Backend::Resource::BaseController def self.resource_class # Set the resource class here. # # Default: Ecm::Youtube::Category # Ecm::Youtube::Category end private def collection_scope # Customize the collection scope here for collection retrival (i.e. for the # index action). # # Example: current_user.posts.includes(:comments) # # Default: resource_class # resource_class end def permitted_params # Set the allowed params, for your create and update methods. # # Example: params # .require(:category) # .permit(:title, :body) # params .require(:category) .permit(:identifier) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_youtube_backend-1.0.1 | app/controllers/ecm/youtube/backend/categories_controller.rb |
ecm_youtube_backend-1.0.0 | app/controllers/ecm/youtube/backend/categories_controller.rb |