Sha256: 1d0666ab3c10dcf69f149ebb0b6cb4dba8beb84b50b2427bd4af605bb02bbfb0

Contents?: true

Size: 1.12 KB

Versions: 12

Compression:

Stored size: 1.12 KB

Contents

require 'active_admin/cancan_integration'
require 'active_admin/views/pages/base_fix'
require 'active_admin/form_builder_fix'
require 'active_admin/resource_controller_fix'
require 'active_admin/inputs/filter_numeric_range_input'
require 'active_admin/inputs/filter_multiple_select_input'
require 'active_admin/inputs/filter_date_range_input_fix'
require 'paper_trail/version_fix'
require 'formtastic/inputs/selectable_check_boxes'
require 'dav4rack/build_resource'
require 'kaminari/array_extension_fix'

ActiveAdmin.setup do |config|
  # TODO: Remove this as soon as AA fixed
  I18n.locale = :ru
  I18n.load_path += Dir[File.expand_path("../../locales/**/*.yml", __FILE__)]
  I18n.reload!

  config.site_title = proc { I18n.t "smartkiosk.admin.title" }

  config.batch_actions = true

  config.namespace :admin do |admin_namespace|
    admin_namespace.root_to = "dashboard#index"
  end

  config.authentication_method = :authenticate_user!
  config.current_user_method = :current_user
  config.logout_link_path = :destroy_user_session_path

  config.register_javascript 'http://api-maps.yandex.ru/2.0-stable/?load=package.full&lang=ru-RU'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
smartkiosk-server-0.11.1 config/initializers/active_admin.rb
smartkiosk-server-0.11 config/initializers/active_admin.rb
smartkiosk-server-0.10.19 config/initializers/active_admin.rb
smartkiosk-server-0.10.18 config/initializers/active_admin.rb
smartkiosk-server-0.10.17 config/initializers/active_admin.rb
smartkiosk-server-0.10.16 config/initializers/active_admin.rb
smartkiosk-server-0.10.15 config/initializers/active_admin.rb
smartkiosk-server-0.10.14 config/initializers/active_admin.rb
smartkiosk-server-0.10.13 config/initializers/active_admin.rb
smartkiosk-server-0.10.12 config/initializers/active_admin.rb
smartkiosk-server-0.10.11 config/initializers/active_admin.rb
smartkiosk-server-0.10.10 config/initializers/active_admin.rb