Skip to content

Commit

Permalink
Remove leftovers:keep annotations to test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukearndt committed Sep 24, 2024
1 parent 6c89f01 commit a258c19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ApplicationController < ActionController::Base
before_action :set_paper_trail_whodunnit

# Allow pundit to authorize a non-logged in user
def pundit_user # leftovers:keep
def pundit_user
current_user || User.new
end

Expand Down
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class User < VersionedRecord
has_many :user_roles, dependent: :destroy
has_many :roles, through: :user_roles
has_many :managed_categories, foreign_key: :manager_id, class_name: "Category" # leftovers:keep
has_many :managed_indicators, foreign_key: :manager_id, class_name: "Indicator" # leftovers:keep
has_many :managed_indicators, foreign_key: :manager_id, class_name: "Indicator"
has_many :user_categories
has_many :categories, through: :user_categories
has_many :bookmarks
Expand Down
2 changes: 1 addition & 1 deletion scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require File.expand_path("../config/environment", __FILE__)
require "clockwork"

module Clockwork # leftovers:keep
module Clockwork
every(1.day, "Send Due Emails", at: "10:30", tz: Rails.application.config.time_zone) do
SendDueEmailsJob.perform_now
end
Expand Down

0 comments on commit a258c19

Please sign in to comment.