Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Admin::SettingsController < Admin::BaseController
|
||||
|
||||
def index
|
||||
all_settings = (Setting.all).group_by { |s| s.type }
|
||||
all_settings = (Setting.all).group_by { |s| s.type }
|
||||
@settings = all_settings['common']
|
||||
@feature_flags = all_settings['feature']
|
||||
@banner_styles = all_settings['banner-style']
|
||||
|
||||
@@ -36,7 +36,7 @@ class GraphqlController < ApplicationController
|
||||
|
||||
def query_string
|
||||
if request.headers["CONTENT_TYPE"] == 'application/graphql'
|
||||
request.body.string # request.body.class => StringIO
|
||||
request.body.string # request.body.class => StringIO
|
||||
else
|
||||
params[:query]
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ class UsersController < ApplicationController
|
||||
when "proposals" then load_proposals
|
||||
when "debates" then load_debates
|
||||
when "budget_investments" then load_budget_investments
|
||||
when "comments" then load_comments
|
||||
when "comments" then load_comments
|
||||
else load_available_activity
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user