Sha256: 6a1c717a1eb206fe8fff1e1e9076e8395b74e08ad5f3aa8a24ce66ca3d2194cd

Contents?: true

Size: 498 Bytes

Versions: 6

Compression:

Stored size: 498 Bytes

Contents

include PgEngine::RouteHelpers

Rails.application.routes.draw do
  namespace :public, path: '' do
    pg_resource(:mensaje_contactos, only: [:new, :create], path: 'contacto')
  end
  devise_for :users, controllers: {
    confirmations: 'users/confirmations',
    registrations: 'users/registrations'
  }
  namespace :admin, path: 'a' do
    pg_resource(:users)
    pg_resource(:accounts)
    pg_resource(:user_accounts)
    get 'login_as', to: 'users#login_as'
  end
  ActiveAdmin.routes(self)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.56 pg_engine/config/routes.rb
pg_rails-7.0.8.pre.alpha.55 pg_engine/config/routes.rb
pg_rails-7.0.8.pre.alpha.54 pg_engine/config/routes.rb
pg_rails-7.0.8.pre.alpha.53 pg_engine/config/routes.rb
pg_rails-7.0.8.pre.alpha.52 pg_engine/config/routes.rb
pg_rails-7.0.8.pre.alpha.51 pg_engine/config/routes.rb