mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-04 20:04:29 -04:00
Rubocop fixes
This commit is contained in:
1 parent
d540342acb
commit
71cb3f8c5f
2 files changed
+2
-2
No files matched your search
@@ -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