style fix ups

This commit is contained in:
Brenda Wallace
2020-01-11 22:57:09 +13:00
parent d95cacc404
commit cdff37b2eb
2 changed files with 5 additions and 3 deletions

View File

@@ -52,7 +52,9 @@ class GardensController < DataController
private
def garden_params
params.require(:garden).permit(:name, :slug, :description, :active,
:location, :latitude, :longitude, :area, :area_unit, :garden_type_id)
params.require(:garden).permit(
:name, :slug, :description, :active,
:location, :latitude, :longitude, :area, :area_unit, :garden_type_id
)
end
end

View File

@@ -71,7 +71,7 @@ class MembersController < ApplicationController
EMAIL_TYPE_STRING = {
send_notification_email: "direct message notifications",
send_planting_reminder: "planting reminders"
send_planting_reminder: "planting reminders"
}.freeze
def member_params