Fix Style/RedundantParentheses rubocop issues

This commit is contained in:
Bertocq
2017-09-25 22:44:58 +02:00
parent 2c35cbd27a
commit 22822aa173
16 changed files with 48 additions and 53 deletions

View File

@@ -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']