Method: Locomotive::CurrentSiteController#new_domain
- Defined in:
- app/controllers/locomotive/current_site_controller.rb
#new_domain ⇒ Object
32 33 34 35 36 37 38 |
# File 'app/controllers/locomotive/current_site_controller.rb', line 32 def new_domain if params[:domain].present? render partial: 'domain', locals: { domain: params[:domain] } else head :unprocessable_entity end end |