A trait for Laravel 4 controllers and their resource actions.