violet_rails icon indicating copy to clipboard operation
violet_rails copied to clipboard

Rails default routes are overridden by cms routes

Open Pralish opened this issue 2 years ago • 1 comments
trafficstars

Describe the bug

Rails default routes are processed by content_controller.

Eg: http://lvh.me:5250/rails/conductor/action_mailbox/inbound_emails/new

solutions_app         | Processing by Comfy::Cms::ContentController#show as HTML
solutions_app         |   Parameters: {"cms_path"=>"rails/conductor/action_mailbox/inbound_emails/new"}

To Reproduce Steps to reproduce the behavior:

  1. Go to 'http://lvh.me:5250/rails/conductor/action_mailbox/inbound_emails/new'
  2. You will get 'Page not found' error

Expected behavior It should have opened form to send inbound emails and the request should have been processed by:

Rails::Conductor::ActionMailbox::InboundEmailsController#new

Screenshots Screenshot 2022-11-30 at 8 16 23 PM

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

Pralish avatar Nov 30 '22 14:11 Pralish

@Pralish is this preventing us from receiving emails at restarone.solutions?

donrestarone avatar Dec 03 '22 19:12 donrestarone