mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-08 15:54:43 -04:00
Rubocop fixes
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user