Upgrade to laravel 5.2

This commit is contained in:
Graham Campbell
2015-12-24 15:44:06 +00:00
parent 3951f0116a
commit cdc107fcb2
9 changed files with 104 additions and 76 deletions

View File

@@ -52,7 +52,7 @@ class Repository
public function get($name, $default = null)
{
if (!$this->settings) {
$this->settings = $this->model->all()->lists('value', 'name');
$this->settings = $this->model->all()->pluck('value', 'name');
}
if (!empty($this->settings[$name])) {