mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 09:43:24 -04:00
rubocop fix up
This commit is contained in:
@@ -137,7 +137,7 @@ class CropsController < ApplicationController
|
||||
return unless params[param_name].present?
|
||||
destroy_names(name_type)
|
||||
params[param_name].each do |_i, value|
|
||||
create_name!(name_type, value) unless value.blank?
|
||||
create_name!(name_type, value) unless value.empty?
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
%h2
|
||||
#{@crop.name} is
|
||||
= link_to 'https://en.wikipedia.org/wiki/Annual_vs._perennial_plant_evolution' do
|
||||
-if @crop.perennial
|
||||
- if @crop.perennial
|
||||
perennial (living more than two years)
|
||||
- else
|
||||
annual (living and reproducing in a single year or less)
|
||||
|
||||
Reference in New Issue
Block a user