@@ -13,7 +13,7 @@
- <%= link_to debate_votes_path(@debate, value: 'yes'), :class => 'in-favor', method: "post" do %>
+ <%= link_to debate_votes_path(@debate, value: 'yes'), class: 'in-favor', method: "post" do %>
<%= percentage('likes', @debate) %>
<% end %>
@@ -22,7 +22,7 @@
<% end %>
diff --git a/db/migrate/20150718091702_acts_as_commentable_with_threading_migration.rb b/db/migrate/20150718091702_acts_as_commentable_with_threading_migration.rb
index 26edafbaf..977fc79df 100644
--- a/db/migrate/20150718091702_acts_as_commentable_with_threading_migration.rb
+++ b/db/migrate/20150718091702_acts_as_commentable_with_threading_migration.rb
@@ -6,7 +6,7 @@ class ActsAsCommentableWithThreadingMigration < ActiveRecord::Migration
t.string :title
t.text :body
t.string :subject
- t.integer :user_id, :null => false
+ t.integer :user_id, null: false
t.integer :parent_id, :lft, :rgt
t.timestamps
end
- <%= link_to debate_votes_path(@debate, value: 'no'), :class => 'against', method: "post" do %>
+ <%= link_to debate_votes_path(@debate, value: 'no'), class: 'against', method: "post" do %>
<%= percentage('dislikes', @debate) %>
<% end %>
@@ -45,7 +45,7 @@
<% if current_user && @debate.editable_by?(current_user) %>
- <%= link_to t("debates.show.edit_debate_link"), edit_debate_path(@debate), :class => 'button radius right' %>
+ <%= link_to t("debates.show.edit_debate_link"), edit_debate_path(@debate), class: 'button radius right' %>
<% end %>
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index 5098996ae..773bb1e46 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -14,7 +14,7 @@
- <%= link_to root_path do %> - <%= image_tag('header-logo-madrid.png', :class => 'left', :size => '96x96') %> + <%= image_tag('header-logo-madrid.png', class: 'left', size: '96x96') %> <%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %> | <%= t("layouts.header.participation") %> <% end %> @@ -32,7 +32,7 @@