Skip to content

Commit

Permalink
Fix item slugs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Dec 4, 2015
1 parent 866f400 commit 25dd733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function __construct($builder, $id, $title, $options)
$this->builder = $builder;
$this->id = $id;
$this->title = $title;
$this->slug = str_slug($title, ' ');
$this->slug = camel_case(str_slug($title, ' '));
$this->attributes = $this->builder->extractAttributes($options);
$this->parent = (is_array($options) and isset($options['parent'])) ? $options['parent'] : null;

Expand Down

0 comments on commit 25dd733

Please sign in to comment.