Skip to content

Instantly share code, notes, and snippets.

View aranw's full-sized avatar

Aran Wilkinson aranw

View GitHub Profile
@aranw
aranw / filters.php
Last active December 26, 2015 18:19
<?php
//Needs refactoring I guess into one, but thats a topic for another day
Route::filter('user', function() {
if (! Session::has('User')) {
return Redirect::to('/');
}
});
<?php namespace PatrickMaciel;
class BaseController extends \Controller {
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
@aranw
aranw / dabblet.css
Created December 16, 2011 11:53 — forked from cdettmar/dabblet.css
Tiles
/**
* Tiles
*/
Body {
background: #515151;
min-height:100%;
margin: 0px;
}
.Tile {