<?php

class Priority extends \Eloquent {
	protected $fillable = ['title'];

	public function tickets()
	{
		$this->hasMany('Ticket');
	}


}
<?php

class Priority extends \Eloquent {
	protected $fillable = ['title'];

	public function tickets()
	{
		$this->hasMany('Ticket');
	}

	public function getPriorities()
	{
		$allPriorities = Priority::all();
		$priorities = [];

		foreach ($allPriorities as $thisPriority)
		{
			$priorities[$thisPriority->id] = $thisPriority->title;
		}

		return $priorities;
	}

}
Add method to get priorties formatted for use in form drop downs
Add method to get priorties formatted for use in form drop downs
