Add relevance field for track requests

The requester can now provide more info about the track and himself
This commit is contained in:
AEtherC0r3 2017-07-26 14:54:10 +03:00 committed by Stella Rouzi
parent 3d250ecf75
commit 2ff4c6d6b2
10 changed files with 40 additions and 5 deletions

View file

@ -53,7 +53,7 @@ class TracksController < ApplicationController
private
def track_params
params.require(:track).permit(:name, :description, :color, :short_name, :start_date, :end_date)
params.require(:track).permit(:name, :description, :color, :short_name, :start_date, :end_date, :relevance)
end
def update_state(transition, notice)