diff --git a/.gitattributes b/.gitattributes index c8d6ba3..7ccb1f3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,12 @@ -/_docs export-ignore -/tests export-ignore -/.editorconfig export-ignore -/.gitattributes export-ignore -/.gitignore export-ignore -/.scrutinizer.yml export-ignore -/.travis.yml export-ignore -/CONTRIBUTING.md export-ignore -/phpunit.xml.dist export-ignore +* text=auto + +/.github export-ignore +/_docs export-ignore +/tests export-ignore +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.scrutinizer.yml export-ignore +.travis.yml export-ignore +phpunit.xml.dist export-ignore +CONTRIBUTING.md export-ignore diff --git a/database/migrations/2015_02_01_000001_create_blog_categories_table.php b/database/migrations/2015_02_01_000001_create_blog_categories_table.php index fe614de..d1c172d 100644 --- a/database/migrations/2015_02_01_000001_create_blog_categories_table.php +++ b/database/migrations/2015_02_01_000001_create_blog_categories_table.php @@ -8,7 +8,7 @@ * * @author ARCANEDEV * - * @see \Arcanesoft\Blog\Models\Tag + * @see \Arcanesoft\Blog\Models\Category */ class CreateBlogCategoriesTable extends Migration { diff --git a/database/migrations/2015_02_01_000003_create_blog_posts_table.php b/database/migrations/2015_02_01_000003_create_blog_posts_table.php index 531120f..12be003 100644 --- a/database/migrations/2015_02_01_000003_create_blog_posts_table.php +++ b/database/migrations/2015_02_01_000003_create_blog_posts_table.php @@ -7,6 +7,8 @@ * Class CreateBlogPostsTable * * @author ARCANEDEV + * + * @see \Arcanesoft\Blog\Models\Post */ class CreateBlogPostsTable extends Migration { diff --git a/resources/views/admin/categories/show.blade.php b/resources/views/admin/categories/show.blade.php index bb5593c..19172cc 100644 --- a/resources/views/admin/categories/show.blade.php +++ b/resources/views/admin/categories/show.blade.php @@ -1,4 +1,4 @@ - + @inject('blog', 'Arcanesoft\Blog\Blog') @@ -72,7 +72,7 @@ @@ -114,11 +114,11 @@ {{ $post->slug }} - @can(\Arcanesoft\Blog\Policies\PostsPolicy::PERMISSION_SHOW) + @can(Arcanesoft\Blog\Policies\PostsPolicy::PERMISSION_SHOW) {{ ui_link_icon('show', route('admin::blog.posts.show', [$post])) }} @endcan - @can(\Arcanesoft\Blog\Policies\PostsPolicy::PERMISSION_UPDATE) + @can(Arcanesoft\Blog\Policies\PostsPolicy::PERMISSION_UPDATE) {{ ui_link_icon('edit', route('admin::blog.posts.edit', [$post])) }} @endcan @@ -140,7 +140,7 @@ @endsection @section('modals') - @can(\Arcanesoft\Blog\Policies\CategoriesPolicy::PERMISSION_UPDATE) + @can(Arcanesoft\Blog\Policies\CategoriesPolicy::PERMISSION_UPDATE) @if ($category->trashed()) {{-- RESTORE MODAL --}}