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 #227

Closed Rantignac closed 5 years ago

Rantignac commented 5 years ago

PR information

Q A
Branch? Develop
Bug fix? no
New feature? yes
Tests pass? yes
Related issue Fixes #226

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