pixelfed/app/Http/Controllers/Import/Mastodon.php

17 lines
286 B
PHP
Raw Normal View History

2018-11-04 03:50:54 +00:00
<?php
namespace App\Http\Controllers\Import;
use Illuminate\Http\Request;
trait Mastodon
{
2021-09-11 03:44:29 +00:00
public function mastodon()
{
if(config_cache('pixelfed.import.instagram.enabled') != true) {
abort(404, 'Feature not enabled');
}
return view('settings.import.mastodon.home');
}
2018-11-04 03:50:54 +00:00
}