Sha256: 1bc776a11c7eb57adb8b2578bf0e888601840d73b208eee6d1389445cf9d70b0
Contents?: true
Size: 868 Bytes
Versions: 6
Compression:
Stored size: 868 Bytes
Contents
module Cmor module Blog module Backend class AssetDetailsController < Cmor::Core::Backend::ResourcesController::Base include Rao::ResourcesController::ActsAsListConcern include Rao::ResourcesController::ActsAsPublishedConcern include Rao::ResourcesController::SortingConcern helper Twitter::Bootstrap::Components::Rails::V3::ComponentsHelper def self.resource_class Cmor::Blog::AssetDetail end def self.available_rest_actions super - [:new, :create] end private def after_destroy_location last_location end def after_reposition_location last_location end def permitted_params params.require(:asset_detail).permit(:title, :description, :published) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems