Skip to content

Commit

Permalink
Demo file User.php updated to support php 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-owl committed Nov 7, 2014
1 parent bc4b3b0 commit 7c6cd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SleepingOwl/Admin/Commands/stubs/User.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// Create admin model from User class with title and url alias
Admin::model(User::class)->title('Users')->as('users-alias-name')->denyCreating(function ()
Admin::model('\User')->title('Users')->as('users-alias-name')->denyCreating(function ()
{
// Deny creating on thursday
return date('w') == 4;
Expand Down

0 comments on commit 7c6cd1f

Please sign in to comment.