Defect #11284
Email missing route after change home route
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Email notifications | |||
| Target version: | - | |||
| Affected version: | 2.0.2 | Resolution: | Fixed |
Description
I want to have the project list as the home page for my redmine site, so I changed the following in routes.rb from
root :to => 'welcome#index', :as => 'home'
to
root :to => 'projects#index', :as => 'home'
However, now email notification is not working. When I attempt to send a test-email I get the following error:
An error occurred while sending mail (No route matches {:controller=>"welcome"})
Any help would be greatly appreciated.
History
#1 Updated by Lukasz Gromanowski 10 months ago
Please check if code below is working for you (it's working for me)
# Just add this below 'root :to=> ...' line match '/', :to => 'welcome#index', :as => 'home'
#2 Updated by Sølve Monteiro 10 months ago
- Status changed from New to Resolved
Thank you very much, this worked!
#3 Updated by Jan Niggemann 4 months ago
- Status changed from Resolved to Closed
- Resolution set to Fixed