Sha256: b6fec368a21d55bc8202a95d8f8e111f9eee3d88c755411e6ed1c31cc60bbf26

Contents?: true

Size: 962 Bytes

Versions: 4

Compression:

Stored size: 962 Bytes

Contents

require 'devise' # @see https://github.com/plataformatec/devise/wiki/How-To:-Use-devise-inside-a-mountable-engine#configuration
require 'citizen_budget_model/engine'
require 'acts_as_list'
require 'globalize'
require 'globalize-accessors'
require 'paranoia'
require 'redis'

module CitizenBudgetModel
  # The parent controller all Popolo controllers inherit from. Defaults to
  # ApplicationController. This should be set early in the initialization
  # process and should be set to a string.
  #
  # @see https://github.com/plataformatec/devise/blob/master/lib/devise.rb#L196
  mattr_accessor :parent_controller, instance_accessor: false
  @@parent_controller = 'ApplicationController'

  # The fields to hide from views. By default, all fields are visible.
  #
  # @example
  #   CitizenBudgetModel.hidden_fields = {
  #     section: [:description, :popover, :modal]
  #   }
  mattr_accessor :hidden_fields, instance_accessor: false
  @@hidden_fields = {}
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 lib/citizen_budget_model.rb
citizen_budget_model-0.0.3 lib/citizen_budget_model.rb
citizen_budget_model-0.0.2 lib/citizen_budget_model.rb
citizen_budget_model-0.0.1 lib/citizen_budget_model.rb