Remove consecutive blank lines

This commit is contained in:
Javi Martín
2019-06-22 15:34:27 +02:00
parent 47b2c42a1d
commit 488461b8ac
36 changed files with 3 additions and 40 deletions

View File

@@ -22,7 +22,6 @@ class Admin::Poll::ActivePollsController < Admin::Poll::BaseController
end
end
private
def load_active_poll

View File

@@ -15,7 +15,6 @@ class Dashboard::SupportsController < Dashboard::BaseController
accumulate_supports(grouped_votes)
end
def supports
@supports ||= Vote
.where(votable: proposal,

View File

@@ -10,7 +10,6 @@ class Legislation::ProcessesController < Legislation::BaseController
before_action :set_random_seed, only: :proposals
before_action :check_past, only: :resume
def index
@current_filter ||= "open"
@processes = ::Legislation::Process.send(@current_filter).published

View File

@@ -18,7 +18,6 @@ class Poll::PairAnswer < ApplicationRecord
validates :answer_right, inclusion: { in: ->(a) { a.question.question_answers.visibles }},
unless: ->(a) { a.question.blank? }
scope :by_author, ->(author_id) { where(author_id: author_id) }
scope :by_question, ->(question_id) { where(question_id: question_id) }

View File

@@ -358,7 +358,6 @@ class User < ApplicationRecord
followables.compact.map { |followable| followable.tags.map(&:name) }.flatten.compact.uniq
end
def self.current_user
Thread.current[:user]
end

View File

@@ -110,7 +110,6 @@ class VotationType < ApplicationRecord
end
end
result
end

View File

@@ -49,7 +49,6 @@
<% end %>
</div>
<% if @account.email.present? %>
<h2><%= t("account.show.notifications")%></h2>

View File

@@ -1,6 +1,5 @@
<a class="small float-right clear" data-open="download-modal"><%= t("admin.budget_investments.index.download_current_selection") %></a>
<% if params[:advanced_filters].include?("winners") %>
<% if display_calculate_winners_button?(@budget) %>
<%= link_to calculate_winner_button_text(@budget),

View File

@@ -127,7 +127,6 @@
label: t("admin.budget_investments.edit.milestone_tags") %>
</div>
<div class="small-12 column margin-top">
<%= f.submit(class: "button", value: t("admin.budget_investments.edit.submit_button")) %>
</div>

View File

@@ -1,7 +1,6 @@
<h2><%= t("admin.hidden_comments.index.title") %></h2>
<p><%= t("admin.shared.moderated_content") %></p>
<%= render "shared/filter_subnav", i18n_namespace: "admin.hidden_comments.index" %>
<% if @comments.any? %>

View File

@@ -1,7 +1,6 @@
<h2><%= t("admin.hidden_debates.index.title") %></h2>
<p><%= t("admin.shared.moderated_content") %></p>
<%= render "shared/filter_subnav", i18n_namespace: "admin.hidden_debates.index" %>
<% if @debates.any? %>

View File

@@ -18,7 +18,6 @@
<%= simple_format @signature_sheet.required_fields_to_verify %>
</div>
<div id="verified_signatures" class="callout success">
<strong>
<%= t("admin.signature_sheets.show.verified",

View File

@@ -11,7 +11,6 @@
<% end %>
</div>
<div id="users">
<%= render "users" %>
</div>

View File

@@ -8,7 +8,6 @@
</h3>
</div>
<div class="row">
<div class="small-12 medium-9 column">
<table>

View File

@@ -58,7 +58,6 @@
</p>
</div>
</div>
</div>
</div>

View File

@@ -37,7 +37,6 @@
<% end %>
</div>
<div class="tabs-content" data-tabs-content="topics-tabs">
<%= render "topics/filter_subnav" %>
<div class="tabs-panel is-active" id="tab-comments">

View File

@@ -28,7 +28,6 @@
<%= f.email_field :email, placeholder: t("devise_views.users.registrations.new.email_label") %>
<%= f.password_field :password, autocomplete: "off",
placeholder: t("devise_views.users.registrations.new.password_label") %>

View File

@@ -18,7 +18,6 @@
<main>
<%= render "feeds" %>
<div class="row">
<% if @cards.any? %>
<div class="small-12 column <%= "large-8" if feed_processes_enabled? %>">