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