DarkmiraTour / community-event-manager

Web application with a collection of tools helping people organising community events such as multi-days conference with reminders, CRM and such
GNU General Public License v3.0
21 stars 21 forks source link

Add HTTP constants in the controllers #226

Closed Rantignac closed 5 years ago

Rantignac commented 5 years ago

Description

In all controllers, the HTTP method value is hard-coded example: 'method' => 'put' the best would be replaced this value by a constant like this : 'method' => Request::METHOD_PUT