Sha256: 0e651d5c4dd3b02e0cb032b605fcfe44f2b4014fe717c2089adcc1739fc21f83
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brightcontent-core-2.0.13 | app/controllers/brightcontent/base_controller.rb |