Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

ArgumentError while adding Team member #91

Open
OrthoDex opened this issue Feb 4, 2017 · 0 comments
Open

ArgumentError while adding Team member #91

OrthoDex opened this issue Feb 4, 2017 · 0 comments

Comments

@OrthoDex
Copy link
Contributor

OrthoDex commented Feb 4, 2017

I get an error from devise when adding a new team member:

Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
Extracted source (around line #3):              
<p><%= t("devise.mailer.invitation_instructions.hello", email: @resource.full_name) %></p>

<p><%= t("devise.mailer.invitation_instructions.someone_invited_you", url: root_url, inviter: @resource.invited_by.full_name) %></p>

<p><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %></p>

app/views/devise/mailer/invitation_instructions.html.erb:3:in `_app_views_devise_mailer_invitation_instructions_html_erb__455187421660232892_69842160299940'
app/controllers/invitations_controller.rb:38:in `add_to_bot!'
app/controllers/invitations_controller.rb:13:in `block in create'
app/controllers/invitations_controller.rb:12:in `create'

Could we set this up during sign up when the app asks for the domain?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant