mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 16:36:25 +00:00
Fix URL for SMS ID getter
This commit is contained in:
parent
5d1cababc6
commit
fb0083a28a
@ -17,5 +17,5 @@ $application->registerRoutes($this, array('routes' => array(
|
||||
array('name' => 'sms#index', 'url' => '/', 'verb' => 'GET'),
|
||||
array('name' => 'sms#push', 'url' => '/push', 'verb' => 'POST'),
|
||||
array('name' => 'sms#replace', 'url' => '/replace', 'verb' => 'POST'),
|
||||
array('name' => 'sms#retrieve_all_ids', 'url' => '/get/ids/all', 'verb' => 'GET'),
|
||||
array('name' => 'sms#retrieve_all_ids', 'url' => '/get/smsidlist', 'verb' => 'GET'),
|
||||
)));
|
||||
|
@ -41,6 +41,7 @@ class SmsController extends Controller {
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
* @NoCSRFRequired
|
||||
*/
|
||||
public function retrieveAllIds () {
|
||||
$smsList = $this->smsMapper->getAllIds($this->userId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user