Skip to content

Commit

Permalink
more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMacPherson committed Oct 23, 2024
1 parent 4ac819d commit f3859bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/jobseekers/sessions_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Jobseekers::SessionsController < Devise::SessionsController
include ReturnPathTracking::Helpers

# rubocop:disable Metrics/MethodLength
def new
if (attempted_path = params[:attempted_path])
alert_text = t("jobseekers.forced_login.#{forced_login_resource(attempted_path)}_html",
Expand All @@ -23,6 +23,7 @@ def new
end
end
end
# rubocop:enable Metrics/MethodLength

def create
if sign_in_params.values.any?(&:blank?)
Expand Down

0 comments on commit f3859bf

Please sign in to comment.