Skip to content

Commit

Permalink
Fix issues with old code
Browse files Browse the repository at this point in the history
  • Loading branch information
El Houssain INANI committed Jun 5, 2021
1 parent 77fdc1c commit 5097e9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
68 changes: 0 additions & 68 deletions src/Http/Controllers/OptionManagerController.php

This file was deleted.

4 changes: 0 additions & 4 deletions src/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
Route::patch('/admin/polls/{poll}/lock', ['uses' => 'PollManagerController@lock', 'as' => 'poll.lock']);
Route::patch('/admin/polls/{poll}/unlock', ['uses' => 'PollManagerController@unlock', 'as' => 'poll.unlock']);
Route::post('/admin/polls', ['uses' => 'PollManagerController@store', 'as' => 'poll.store']);
Route::get('/admin/polls/{poll}/options/add', ['uses' => 'OptionManagerController@push', 'as' => 'poll.options.push']);
Route::post('/admin/polls/{poll}/options/add', ['uses' => 'OptionManagerController@add', 'as' => 'poll.options.add']);
Route::get('/admin/polls/{poll}/options/remove', ['uses' => 'OptionManagerController@delete', 'as' => 'poll.options.remove']);
Route::delete('/admin/polls/{poll}/options/remove', ['uses' => 'OptionManagerController@remove', 'as' => 'poll.options.remove']);
});

Route::post('/vote/polls/{poll}', 'VoteManagerController@vote')->name('poll.vote');
Expand Down

0 comments on commit 5097e9f

Please sign in to comment.