From: Andy Allan Date: Wed, 29 May 2019 15:09:51 +0000 (+0200) Subject: rubocop and erblint fixes X-Git-Tag: live~3109^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9431b471a74fe0ef872fb51155da870158c11382 rubocop and erblint fixes --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f989d393d..d63584223 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -40,7 +40,7 @@ Metrics/AbcSize: # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: - Max: 262 + Max: 263 # Offense count: 11 # Configuration parameters: CountBlocks. diff --git a/app/views/diary_entries/edit.html.erb b/app/views/diary_entries/edit.html.erb index eba18cbaf..5ea619328 100644 --- a/app/views/diary_entries/edit.html.erb +++ b/app/views/diary_entries/edit.html.erb @@ -9,5 +9,5 @@ <%= error_messages_for "diary_entry" %> <%= form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> + <%= render :partial => "form", :locals => { :f => f } %> <% end %> diff --git a/app/views/diary_entries/new.html.erb b/app/views/diary_entries/new.html.erb index d71331fcf..dfe69f22a 100644 --- a/app/views/diary_entries/new.html.erb +++ b/app/views/diary_entries/new.html.erb @@ -9,5 +9,5 @@ <%= error_messages_for "diary_entry" %> <%= form_for @diary_entry do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> + <%= render :partial => "form", :locals => { :f => f } %> <% end %>