Fix rubocop issues, introduce usage of frozen literal to improve performance
This commit is contained in:
.rubocop.ymlGemfileconfig.ru
app
channels
controllers
about_controller.rbaccounts_controller.rb
api
api_controller.rbapplication_controller.rbauth
home_controller.rbmedia_controller.rboauth
settings
stream_entries_controller.rbtags_controller.rbxrd_controller.rbhelpers
about_helper.rbaccounts_helper.rbapplication_helper.rbatom_builder_helper.rbhome_helper.rbrouting_helper.rbstream_entries_helper.rbtags_helper.rbxrd_helper.rb
lib
mailers
models
account.rbapplication_record.rbblock.rb
concerns
domain_block.rbfavourite.rbfeed.rbfollow.rbfollow_suggestion.rbmedia_attachment.rbmention.rbstatus.rbstream_entry.rbtag.rbuser.rbservices
base_service.rbblock_domain_service.rbblock_service.rbfan_out_on_write_service.rbfavourite_service.rbfetch_atom_service.rbfetch_remote_account_service.rbfetch_remote_status_service.rbfollow_remote_account_service.rbfollow_service.rbpost_status_service.rbprecompute_feed_service.rbprocess_feed_service.rbprocess_hashtags_service.rbprocess_interaction_service.rbprocess_mentions_service.rbreblog_service.rbremove_status_service.rbsearch_service.rbsend_interaction_service.rbsubscribe_service.rbunblock_service.rbunfavourite_service.rbunfollow_service.rbupdate_remote_profile_service.rb
workers
config/initializers
lib/tasks
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
|
||||
skip_before_action :authenticate_resource_owner!
|
||||
|
||||
|
Reference in New Issue
Block a user