Sha256: 850b9ee3ae500ce0d1435540768f946bdde63333d88ada463de9538dfec5dfb9
Contents?: true
Size: 447 Bytes
Versions: 9
Compression:
Stored size: 447 Bytes
Contents
class Admin::LinkBlockItemsController < AdminController include ToggleableEntity include EntityPriority before_action :set_entity # get /admin/link_block_items/:id def show end private def restrict_access require_privilege :content_manager end def set_entity @entity = LinkBlockItem.find_by(id: params[:id]) if @entity.nil? handle_http_404("Cannot find link_block_item #{params[:id]}") end end end
Version data entries
9 entries across 9 versions & 1 rubygems