BlogController::blogPaginated(App::getLocale(), true)]); } public function services(Request $request){ return view('content.services'); } public function apply(Request $request){ return view('application.apply'); } // C3Gov-Stuffs public function showRegister() { return view('login.register'); } public function showLogin() { return view('login.login'); } public function editTicker(){ if(Auth::check()){ return view('ticker.edit'); } abort(404); } public function editNews(){ if(Auth::check()){ return response() ->view('blog.edit', ['blogs' => BlogController::blogPaginatedEdit()]) ->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); } abort(404); } public function editApplications(){ if(Auth::check()){ return response() ->view('application.edit', ['applications' => PreApplicationController::applicationsPaginated()]) ->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); } abort(404); } public function editEvents(){ if(Auth::check()){ return response() ->view('events.edit', ['events' => EventController::eventsPaginated()]) ->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); } abort(404); } }