Skip to content

Commit

Permalink
Authenticate user
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Oct 12, 2023
1 parent f710143 commit 090f26b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/imports/retry_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class Imports::RetryController < ApplicationController
before_action :authenticate_user!

def create
@import = current_user.imports.find(params[:import_id])
if @import.retriable? && @import.retry
Expand Down

0 comments on commit 090f26b

Please sign in to comment.