Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Jul 17, 2021
1 parent 3389515 commit 1bcab0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ Style/ConditionalAssignment:
Style/Documentation:
Enabled: false

Style/GuardClause:
Enabled: false

Style/IfUnlessModifier:
Enabled: false

Expand Down
6 changes: 2 additions & 4 deletions app/models/rdb_dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ def issue_view
end

def projects
@projects ||= begin
Project.where(
project.project_condition(options[:include_subprojects])
@projects ||= Project.where(
project.project_condition(options[:include_subprojects]),
)
end
end

def project_ids
Expand Down

0 comments on commit 1bcab0f

Please sign in to comment.