Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Activity: Add days to controller.
Browse files Browse the repository at this point in the history
References #52.
  • Loading branch information
Yong Bakos committed Sep 8, 2020
1 parent b2daa90 commit 711b025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/activities_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def set_activity
end

def activity_params
params.require(:activity).permit(:title, :start_date, :end_date, :start_time, :end_time,
:description, :location, :contact_name, :contact_number,
:contact_email, :state, :organization_name, :tag_list,
params.require(:activity).permit(:title, :start_date, :end_date,
:start_time, :end_time, :days, :description, :location, :contact_name,
:contact_number, :contact_email, :state, :organization_name, :tag_list,
:url
)
end
Expand Down

0 comments on commit 711b025

Please sign in to comment.