DEV: add a few frozen string literals
This commit is contained in:
parent
1be01f8dd4
commit
96360a779f
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::AdminController < ApplicationController
|
||||
|
||||
requires_login
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::ApiController < Admin::AdminController
|
||||
|
||||
def index
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "backup_restore/backup_restore"
|
||||
require "backup_restore/backup_store"
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::BadgesController < Admin::AdminController
|
||||
|
||||
def index
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::ColorSchemesController < Admin::AdminController
|
||||
|
||||
before_action :fetch_color_scheme, only: [:update, :destroy]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::DashboardController < Admin::AdminController
|
||||
def index
|
||||
data = AdminDashboardIndexData.fetch_cached_stats
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_dependency 'email/renderer'
|
||||
|
||||
class Admin::EmailController < Admin::AdminController
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::EmailTemplatesController < Admin::AdminController
|
||||
|
||||
def self.email_keys
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Admin::EmbeddableHostsController < Admin::AdminController
|
||||
|
||||
def create
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_dependency 'embedding'
|
||||
|
||||
class Admin::EmbeddingController < Admin::AdminController
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class MetadataController < ApplicationController
|
||||
layout false
|
||||
skip_before_action :preload_json, :check_xhr, :redirect_to_login_if_required
|
||||
|
|
Loading…
Reference in New Issue