Sha256: 8d3d06b4f7273d1aa2c4f4e6a680e26b1995b4948889b5160fb64b47dff43847
Contents?: true
Size: 634 Bytes
Versions: 10
Compression:
Stored size: 634 Bytes
Contents
require 'csv' require_dependency "brightcontent/application_controller" module Brightcontent class BaseController < ApplicationController inherit_resources helper_method :scopes_configuration respond_to :all include DefaultActions include Pagination private def list_fields default_fields - %w{attachments} end helper_method :list_fields def form_fields default_fields end helper_method :form_fields def default_fields resource_class.brightcontent_columns - %w{id created_at updated_at password_digest} end helper_method :default_fields end end
Version data entries
10 entries across 10 versions & 1 rubygems