-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor admin/debates and admin/comments to hidden #3376
Refactor admin/debates and admin/comments to hidden #3376
Conversation
app/models/debate.rb
Outdated
@@ -152,7 +152,7 @@ def featured? | |||
|
|||
def self.debates_orders(user) | |||
orders = %w{hot_score confidence_score created_at relevance} | |||
orders << "recommendations" if Setting['feature.user.recommendations_on_debates'] && user&.recommended_debates | |||
orders << "recommendations" if Setting["feature.user.recommendations_on_debates"] && user&.recommended_debates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [114/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
<p><%= t("admin.shared.moderated_content") %></p> | ||
|
||
<%= render "shared/filter_subnav", i18n_namespace: "admin.debates.index" %> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line detected.
<p><%= t("admin.shared.moderated_content") %></p> | ||
|
||
<%= render "shared/filter_subnav", i18n_namespace: "admin.comments.index" %> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line detected.
@@ -2,6 +2,7 @@ | |||
admin_budget_budget_investments_path(csv_params), | |||
class: "float-right small clear" %> | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line detected.
References
#3350