File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "require" : {
19- "daniel-cintra/modular" : " ^0.4.0 " ,
19+ "daniel-cintra/modular" : " ^0.4.7 " ,
2020 "cviebrock/eloquent-sluggable" : " ^11.0"
2121 },
2222 "require-dev" : {
Original file line number Diff line number Diff line change @@ -22,28 +22,28 @@ public function run(): void
2222 private function getPermissions (): array
2323 {
2424 return [
25- //Main Menu
25+ // Main Menu
2626 'Blog ' ,
2727
28- //BlogPost/PostIndex.vue
28+ // BlogPost/PostIndex.vue
2929 'Blog: Post - List ' ,
3030 'Blog: Post - Create ' ,
3131 'Blog: Post - Edit ' ,
3232 'Blog: Post - Delete ' ,
3333
34- //BlogCategory/CategoryIndex.vue
34+ // BlogCategory/CategoryIndex.vue
3535 'Blog: Category - List ' ,
3636 'Blog: Category - Create ' ,
3737 'Blog: Category - Edit ' ,
3838 'Blog: Category - Delete ' ,
3939
40- //BlogAuthor/AuthorIndex.vue
40+ // BlogAuthor/AuthorIndex.vue
4141 'Blog: Author - List ' ,
4242 'Blog: Author - Create ' ,
4343 'Blog: Author - Edit ' ,
4444 'Blog: Author - Delete ' ,
4545
46- //BlogTag/TagIndex.vue
46+ // BlogTag/TagIndex.vue
4747 'Blog: Tag - List ' ,
4848 'Blog: Tag - Create ' ,
4949 'Blog: Tag - Edit ' ,
Original file line number Diff line number Diff line change 1515
1616class BlogSeeder extends Seeder
1717{
18- //These images are available at: resources/images/blog . Just copy them to storage/app/public/blog as mentioned in the README.md
18+ // These images are available at: resources/images/blog . Just copy them to storage/app/public/blog as mentioned in the README.md
1919
2020 private $ blogCategoriesImages = [
2121 '57b76f29-dd7d-4018-b172-a06e6ef4a4cf.jpg ' ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function rules(): array
1818 'max:255 ' ,
1919 Rule::unique ('blog_authors ' , 'email ' )->ignore (request ('id ' )),
2020 ],
21- 'image ' => 'nullable|image|max:2048 ' , //Max size 2MB
21+ 'image ' => 'nullable|image|max:2048 ' , // Max size 2MB
2222 'bio ' => 'nullable|string ' ,
2323 'github_handle ' => 'nullable|string|max:255 ' ,
2424 'twitter_handle ' => 'nullable|string|max:255 ' ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public function rules(): array
1111 return [
1212 'name ' => 'required|string|max:255 ' ,
1313 'description ' => 'nullable|string ' ,
14- 'image ' => 'nullable|image|max:2048 ' , //Max size 2MB
14+ 'image ' => 'nullable|image|max:2048 ' , // Max size 2MB
1515 'is_visible ' => 'required|boolean ' ,
1616 'meta_tag_title ' => 'nullable|string|max:60 ' ,
1717 'meta_tag_description ' => 'nullable|string|max:160 ' ,
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ public function rules(): array
1313 'blog_category_id ' => 'nullable|exists:blog_categories,id ' ,
1414 'title ' => 'required|string|max:255 ' ,
1515 'content ' => 'required|string ' ,
16- 'summary ' => 'nullable|string|max:65535 ' , //database text field size
17- 'image ' => 'nullable|image|max:2048 ' , //Max size 2MB
16+ 'summary ' => 'nullable|string|max:65535 ' , // database text field size
17+ 'image ' => 'nullable|image|max:2048 ' , // Max size 2MB
1818 'meta_tag_title ' => 'nullable|string|max:60 ' ,
1919 'meta_tag_description ' => 'nullable|string|max:160 ' ,
2020 'published_at ' => 'nullable|date ' ,
You can’t perform that action at this time.
0 commit comments