added profile pghero

This commit is contained in:
olegphenomenon 2021-11-24 09:21:46 +02:00
parent 97c7e13cfc
commit 7e188a3d36
5 changed files with 108 additions and 13 deletions

View file

@ -5,6 +5,12 @@ Rails.application.routes.draw do
get 'practice/index'
get 'practice/contact'
# https://github.com/internetee/epp_proxy#translation-of-epp-calls
#
# profiles
if Rails.env.development? || Rails.env.staging?
mount PgHero::Engine, at: "pghero"
end
namespace :epp do
constraints(EppConstraint.new(:session)) do
get 'session/hello', to: 'sessions#hello', as: 'hello'