Skip to content

Commit

Permalink
update from github route fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeansordes committed Jul 26, 2017
1 parent 5832aa7 commit 64ad2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function user_can_do ($action_name, $project_type) {
throw new \ErrorException($message, 0, $severity, $file, $line);
});
// Define app routes
$app->get('/update-from-github', function ($request, $response, $args) {
$app->post('/update-from-github', function ($request, $response, $args) {
$result = [];
$output = '';
exec("rm -rf " . __DIR__ . "/src/templates/twig_cache/*");
Expand Down

0 comments on commit 64ad2f0

Please sign in to comment.