mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-12-22 22:19:25 -05:00
dbfda5cf9e
Add dark / light theme Add social sharing on meme pages Add approving / pending admin section Improve design Add pagination on profiles Make front end date time user friendly Finish rough draft of site And Much more... Still need to fix a few minor things before it goes live. Almost complete.
15 lines
290 B
PHP
15 lines
290 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class ThemeSwitcherController extends Controller
|
|
{
|
|
public function theme(Request $request, $style)
|
|
{
|
|
$request->session()->put('theme', $style);
|
|
return redirect()->away(url()->previous());
|
|
}
|
|
}
|