public function filters()
	{
		Route::filter('admin_auth', function()
		{
		    if (!App::make('coanda')->isLoggedIn())
		    {
		    	Session::put('pre_auth_path', Request::path());
				Session::put('pre_auth_query_string', Request::getQueryString());

		    	return Redirect::to('/' . Config::get('coanda::coanda.admin_path') . '/login');
		    }

		});
	}
public function filters()
	{
		Route::filter('admin_auth', function()
		{
		    if (!App::make('coanda')->isLoggedIn())
		    {
		    	Session::put('pre_auth_path', Request::path());
				Session::put('pre_auth_query_string', Request::getQueryString());

		    	return Redirect::to('/' . Config::get('coanda::coanda.admin_path') . '/login');
		    }

		});
	}
public function filters ( ) { Route :: filter ( 'admin_auth' , function ( ) { if ( ! App :: make ( 'coanda' ) -> isLoggedIn ( ) ) { Session :: put ( 'pre_auth_path' , Request :: path ( ) ) ; Session :: put ( 'pre_auth_query_string' , Request :: getQueryString ( ) ) ; return Redirect :: to ( '/' . Config :: get ( 'coanda::coanda.admin_path' ) . '/login' ) ; } } ) ; }
Creates all the required filters
Creates all the required filters