1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use rails scope by default

This commit is contained in:
David Heinemeier Hansson 2018-09-18 16:13:17 -07:00
parent 1219b070d7
commit 0cb3245b4d

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
Rails.application.routes.draw do Rails.application.routes.draw do
scope :action_mailroom do scope "rails/action_mailroom" do
post "/inbound_emails" => "action_mailroom/inbound_emails#create", as: :rails_inbound_emails post "/inbound_emails" => "action_mailroom/inbound_emails#create", as: :rails_inbound_emails
end end
end end