mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-30 10:13:16 +00:00
68437e614d
* Created localized exception.php (DE) * Update German translation * Update German translation * Update de localization, Create New Post -> New * Formatting * Update site.php (#2889) Co-authored-by: daniel <danielsupernault@gmail.com> * Formatting * Update controllers, fixes #2906 * Update NotificationService, fix 500 bug * Update changelog Co-authored-by: forenta <ueblesurmeli-github@yahoo.de> Co-authored-by: Tomas Brabenec <tomas@brabenec.net>
16 lines
286 B
PHP
16 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');
|
|
}
|
|
}
|