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