Skip to content

Instantly share code, notes, and snippets.

@dev-yohan
Created September 13, 2013 22:35
Show Gist options
  • Save dev-yohan/6556955 to your computer and use it in GitHub Desktop.
Save dev-yohan/6556955 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
2:
3: <p>Someone has requested a link to change your password. You can do this through the link below.</p>
4:
5: <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
6:
7: <p>If you didn't request this, please ignore this email.</p>
8: <p>Your password won't change until you access the link above and create a new one.</p>
app/views/devise_mailer/reset_password_instructions.html.erb:5:in `_app_views_devise_mailer_reset_password_instructions_html_erb__1622835222172967092_45847660'
app/mailers/devise_mailer.rb:10:in `reset_password_instructions'
app/controllers/plataforma_passwords_controller.rb:11:in `create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment