mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-06 06:44:50 +00:00
17 lines
286 B
PHP
17 lines
286 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Import;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
trait Mastodon
|
|
{
|
|
public function mastodon()
|
|
{
|
|
if(config_cache('pixelfed.import.instagram.enabled') != true) {
|
|
abort(404, 'Feature not enabled');
|
|
}
|
|
return view('settings.import.mastodon.home');
|
|
}
|
|
}
|