pushtype / push_type

PushType is a modern, open source content management system for Ruby on Rails.
http://www.pushtype.org
Other
290 stars 32 forks source link

No method error when sending reset password email #46

Closed aaronrussell closed 6 years ago

aaronrussell commented 7 years ago

Error:

Devise::Mailer#reset_password_instructions: processed outbound mail in 8.3ms
Completed 500 Internal Server Error in 20ms (ActiveRecord: 5.6ms)

ActionView::Template::Error (undefined method `edit_password_url' for #<ActionDispatch::Routing::RoutesProxy:0x007f1a6825e458>):
 7: <table>
 8:   <tr>
 9:     <td class="padding">
10:       <p><%= link_to 'Change my password', push_type_admin.edit_password_url(@user, reset_password_token: @token), class: 'btn-primary' %></p>
11:     </td>
12:   </tr>
13: </table>