Sha256: abc922d1a20d9a0d7207ec0bc116097bf3bd0a52ae8fb42cebe56016723d607b
Contents?: true
Size: 335 Bytes
Versions: 16
Compression:
Stored size: 335 Bytes
Contents
module Qbrick class BaseController < Qbrick::Cms::BackendController inherit_resources def show super do |format| format.html { redirect_to collection_path } end end private def permitted_params params.permit(resource_instance_name => collection.editable_attributes) end end end
Version data entries
16 entries across 16 versions & 1 rubygems