Rubocop fixes

This commit is contained in:
Brenda Wallace
2017-11-01 13:56:25 +13:00
parent d540342acb
commit 71cb3f8c5f
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ class Planting < ActiveRecord::Base
friendly_id :planting_slug, use: [:slugged, :finders]
# Constants
SUNNINESS_VALUES = %w[sun semi-shade shade]
SUNNINESS_VALUES = %w(sun semi-shade shade)
PLANTED_FROM_VALUES = [
'seed',
'seedling',

View File

@@ -46,7 +46,7 @@
%dt Predicted finish:
%dd
- if @planting.finish_predicted_at.present?
=@planting.finish_predicted_at
= @planting.finish_predicted_at
- else
Set planted date to get predictions