From e5bf9d98e6905b5699f427bb66d97cc32229469b Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Wed, 10 Sep 2025 19:56:12 +0930 Subject: [PATCH] Rubocop (#4241) --- app/controllers/activities_controller.rb | 2 +- app/controllers/registrations_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index 08e8aa4bd..8ca7f956e 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -29,7 +29,7 @@ class ActivitiesController < DataController def new @activity = Activity.new( - owner: current_member, + owner: current_member, due_date: Date.today ) if params[:garden_id] diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index 90593eaca..88c569c83 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -6,7 +6,7 @@ class RegistrationsController < Devise::RegistrationsController prepend_before_action :check_captcha, only: [:create] # Change this to be any actions you want to protect with recaptcha. def edit - @flickr_auth = current_member.auth('flickr') + @flickr_auth = current_member.auth('flickr') render "edit" end