style fix ups

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

No files matched your search

+4 -2
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
+1 -1
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