remove unused redirect_to functionality
This commit is contained in:
parent
df9cff0eee
commit
cee96915f9
2 changed files with 2 additions and 14 deletions
|
|
@ -14,7 +14,7 @@ class InvitesController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
redirect_to back_or_default_path, notice: I18n.t('invites.success')
|
||||
redirect_to root_path, notice: I18n.t('invites.success')
|
||||
end
|
||||
format.js { render layout: false }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue