Skip to content

Commit

Permalink
Merge pull request #143 from andhikamaheva/3.2
Browse files Browse the repository at this point in the history
Missing open php tag
  • Loading branch information
santigarcor committed Jun 7, 2017
2 parents d4836f9 + 75fdd24 commit c8b61ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/models/permission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Create a Permission model inside ``app/Permission.php`` using the following exam

.. code-block:: php
namespace App;
<?php namespace App;
use Laratrust\LaratrustPermission;
Expand All @@ -19,4 +19,4 @@ The ``Permission`` model has the same three attributes as the ``Role``:
* ``display_name`` — Human readable name for the permission. Not necessarily unique and optional. For example "Create Posts", "Edit Users", "Post Payments", "Subscribe to mailing list".
* ``description`` — A more detailed explanation of the Permission.

In general, it may be helpful to think of the last two attributes in the form of a sentence: "The permission ``display_name`` allows a user to ``description``."
In general, it may be helpful to think of the last two attributes in the form of a sentence: "The permission ``display_name`` allows a user to ``description``."

0 comments on commit c8b61ba

Please sign in to comment.