style(rubocop): Layout/EmptyLineAfterMagicComment

This commit is contained in:
Adam Cooke
2024-02-10 17:18:23 +00:00
parent 6ab36c09c9
commit 0e4ed5ca03
213 changed files with 213 additions and 0 deletions
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class AddressEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require "authie/session"
class ApplicationController < ActionController::Base
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module WithinOrganization
extend ActiveSupport::Concern
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class CredentialsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class DomainsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class HelpController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class HTTPEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPAddressesController < ApplicationController
before_action :admin_required
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPPoolRulesController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPPoolsController < ApplicationController
before_action :admin_required
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class MessagesController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class OrganizationIPPoolsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class OrganizationsController < ApplicationController
before_action :admin_required, only: [:new, :create, :delete, :destroy]
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class RoutesController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ServersController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SessionsController < ApplicationController
layout "sub"
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SMTPEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class TrackDomainsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class UserController < ApplicationController
skip_before_action :login_required, only: [:new, :create, :join]
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class UsersController < ApplicationController
before_action :admin_required
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class WebhooksController < ApplicationController
include WithinOrganization