- 1
- 2
- 3
- 4
- 5
- 6
- 7
def show
if (params[:id].scan(/-/).length == 1)
redirect_to transfers_path(game_id: params[:game_id], period: 'days', start_date: params[:id] + '-01', end_date: Date.parse(params[:id] + '-01').end_of_month.strftime('%Y-%m-%d'))
return
end
...
end
Sandwich 22.08.2021 01:29 # −1