App\Http\Controllers\Admin\BeatmapsetDiscussionsController::store PHP Method

store() public method

public store ( )
    public function store()
    {
        $beatmapset = Beatmapset::findOrFail(Request::input('beatmapset_id'));
        $discussion = $beatmapset->beatmapsetDiscussion()->firstOrCreate([]);
        return redirect(route('admin.beatmapsets.show', $beatmapset));
    }
BeatmapsetDiscussionsController