Skip to content

Commit

Permalink
Update subscription controller.io (#11496)
Browse files Browse the repository at this point in the history
  • Loading branch information
SylviaKaks authored Oct 24, 2022
1 parent 928543e commit 39726e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/subscription_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def delete
render json: true
else
flash[:notice] = "You have stopped following '#{params[:name]}'."
redirect_to "/subscriptions" + "?_=" + Time.now.to_i.to_s
redirect_back fallback_location: "/subscriptions?_=#{Time.now.to_i}"
end
end
end
Expand Down

0 comments on commit 39726e8

Please sign in to comment.