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