Skip to content

Commit 6ac0f4e

Browse files
committed
Rubocop fixes
1 parent b23e59f commit 6ac0f4e

File tree

12 files changed

+12
-0
lines changed

12 files changed

+12
-0
lines changed

app/controllers/better_together/static_page_template_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class StaticPageTemplateController < AbstractController::Base
88
include AbstractController::Helpers
99
include AbstractController::Translation
1010
include AbstractController::AssetPaths
11+
1112
# include ActionController::UrlWriter
1213

1314
# Uncomment if you want to use helpers

app/controllers/better_together/users/confirmations_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
module Users
55
class ConfirmationsController < ::Devise::ConfirmationsController # rubocop:todo Style/Documentation
66
include DeviseLocales
7+
78
skip_before_action :check_platform_privacy
89
end
910
end

app/controllers/better_together/users/omniauth_callbacks_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
module Users
55
class OmniauthCallbacksController < ::Devise::OmniauthCallbacksController # rubocop:todo Style/Documentation
66
include DeviseLocales
7+
78
skip_before_action :check_platform_privacy
89
end
910
end

app/controllers/better_together/users/passwords_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
module Users
55
class PasswordsController < ::Devise::PasswordsController # rubocop:todo Style/Documentation
66
include DeviseLocales
7+
78
skip_before_action :check_platform_privacy
89
end
910
end

app/controllers/better_together/users/registrations_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Users
55
# Override default Devise registrations controller
66
class RegistrationsController < ::Devise::RegistrationsController
77
include DeviseLocales
8+
89
skip_before_action :check_platform_privacy
910

1011
def new

app/controllers/better_together/users/sessions_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
module Users
55
class SessionsController < ::Devise::SessionsController # rubocop:todo Style/Documentation
66
include DeviseLocales
7+
78
skip_before_action :check_platform_privacy
89

910
def respond_to_on_destroy

app/controllers/better_together/users/unlocks_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
module Users
55
class UnlocksController < ::Devise::UnlocksController # rubocop:todo Style/Documentation
66
include DeviseLocales
7+
78
skip_before_action :check_platform_privacy
89
end
910
end

app/future_controllers/better_together/api_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module BetterTogether
77
class ApiController < ::JSONAPI::ResourceController
88
include Pundit::Authorization
99
include Pundit::ResourceController
10+
1011
protect_from_forgery with: :exception, unless: -> { request.format.json? }
1112
end
1213
end

app/helpers/better_together/application_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module BetterTogether
66
# platform configurations, and navigation items.
77
module ApplicationHelper # rubocop:todo Metrics/ModuleLength
88
include MetricsHelper
9+
910
# Returns the base URL configured for BetterTogether.
1011
def base_url
1112
::BetterTogether.base_url

app/models/better_together/jwt_denylist.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module BetterTogether
44
# Used to deny logins with expired JWT tokens
55
class JwtDenylist < ApplicationRecord
66
include Devise::JWT::RevocationStrategies::Denylist
7+
78
self.table_name = 'better_together_jwt_denylists'
89
end
910
end

0 commit comments

Comments
 (0)