Open OrthoDex opened 7 years ago
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?
I get an error from devise when adding a new team member:
Could we set this up during sign up when the app asks for the domain?