pg_engine/config/routes.rb in pg_rails-7.0.8.pre.alpha.50 vs pg_engine/config/routes.rb in pg_rails-7.0.8.pre.alpha.51
- old
+ new
@@ -1,7 +1,10 @@
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