Sha256: a0360838ddc74b7e1227063f325c8611ec9868726913f020e2e17f0e7f8914b6

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

Amalgam.setup do |config|
	config.type_whitelist = ['Page','Post']
	config.models_with_templates = ['pages','posts']
  config.authority_model :admin_user, :as => :admin
  config.i18n = 'param'
  config.admin_routes do
    resources :pages, :except => [:show]
    resources :posts, :except => [:show] do
      collection do
        get :test2, :menu_item => true
      end
    end
    match "/signin2" => "session_boxs#new", :via => :get, :as => 'signin2', :menu_item => true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
amalgam-2.1.4 spec/dummy/config/initializers/amalgam.rb
amalgam-2.1.3.1 spec/dummy/config/initializers/amalgam.rb
amalgam-2.1.3 spec/dummy/config/initializers/amalgam.rb
amalgam-2.1.2 spec/dummy/config/initializers/amalgam.rb
amalgam-2.1.1 spec/dummy/config/initializers/amalgam.rb