@@ -14,7 +14,7 @@ |
||
14 | 14 | public function boot() |
15 | 15 | { |
16 | 16 | // Publish our routes |
17 | - require __DIR__ . '/routes.php'; |
|
17 | + require __DIR__ . '/routes.php'; |
|
18 | 18 | |
19 | 19 | // Publish our views |
20 | 20 | $this->loadViewsFrom(base_path("resources/views"), 'blog'); |
@@ -19,12 +19,12 @@ discard block |
||
19 | 19 | // Publish our views |
20 | 20 | $this->loadViewsFrom(base_path("resources/views"), 'blog'); |
21 | 21 | $this->publishes([ |
22 | - __DIR__ . '/views' => base_path("resources/views") |
|
22 | + __DIR__ . '/views' => base_path("resources/views") |
|
23 | 23 | ]); |
24 | 24 | |
25 | 25 | // Publish our migrations |
26 | 26 | $this->publishes([ |
27 | - __DIR__ . '/migrations' => base_path("database/migrations") |
|
27 | + __DIR__ . '/migrations' => base_path("database/migrations") |
|
28 | 28 | ], 'migrations'); |
29 | 29 | |
30 | 30 | // Publish a config file |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function register() |
42 | 42 | { |
43 | 43 | // Bind the |
44 | - $this->app->bind('blog', function(){ |
|
44 | + $this->app->bind('blog', function() { |
|
45 | 45 | return new blog; |
46 | 46 | }); |
47 | 47 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public function up() |
14 | 14 | { |
15 | 15 | |
16 | - Schema::create('BlogCategory', function (Blueprint $table) { |
|
16 | + Schema::create('BlogCategory', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name', 100); |
19 | 19 | $table->string('description', 250); |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $table->creation(); |
24 | 24 | }); |
25 | 25 | |
26 | - Schema::create('BlogPost', function (Blueprint $table) { |
|
26 | + Schema::create('BlogPost', function(Blueprint $table) { |
|
27 | 27 | $table->increments('id'); |
28 | 28 | $table->string('title', 100); |
29 | 29 | $table->text('contents'); |