mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 23:07:59 +01:00
12 lines
No EOL
294 B
PHP
12 lines
No EOL
294 B
PHP
<?php
|
|
|
|
namespace Api\Web;
|
|
|
|
use Commands\ToggleFavouriteCommand;
|
|
use Illuminate\Support\Facades\Input;
|
|
|
|
class FavouritesController extends \ApiControllerBase {
|
|
public function postToggle() {
|
|
return $this->execute(new ToggleFavouriteCommand(Input::get('type'), Input::get('id')));
|
|
}
|
|
} |