@@ -13,7 +13,7 @@ |
||
| 13 | 13 | use RafflesArgentina\ResourceController\Exceptions\ResourceControllerException; |
| 14 | 14 | |
| 15 | 15 | abstract class AbstractResourceController extends BaseController |
| 16 | - implements ResourceControllerInterface |
|
| 16 | + implements ResourceControllerInterface |
|
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * The alias for named routes. |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | return redirect()->route($this->getRedirectionRoute()) |
| 99 | - ->with($this->successFlashMessageKey, $message); |
|
| 99 | + ->with($this->successFlashMessageKey, $message); |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | /** |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | return redirect()->route($this->getRedirectionRoute()) |
| 203 | - ->with($this->successFlashMessageKey, $message); |
|
| 203 | + ->with($this->successFlashMessageKey, $message); |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | return redirect()->route($this->getRedirectionRoute()) |
| 249 | - ->with($this->infoFlashMessageKey, $message); |
|
| 249 | + ->with($this->infoFlashMessageKey, $message); |
|
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | /** |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('related', function (Blueprint $table) { |
|
| 16 | + Schema::create('related', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('user_id')->nullable(); |
| 19 | 19 | $table->string('a'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('uploadeables', function (Blueprint $table) { |
|
| 16 | + Schema::create('uploadeables', function(Blueprint $table) { |
|
| 17 | 17 | $table->unsignedInteger('upload_id')->nullable(); |
| 18 | 18 | $table->unsignedInteger('uploadeable_id')->nullable(); |
| 19 | 19 | $table->string('uploadeable_type')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('relatables', function (Blueprint $table) { |
|
| 16 | + Schema::create('relatables', function(Blueprint $table) { |
|
| 17 | 17 | $table->unsignedInteger('related_id'); |
| 18 | 18 | $table->unsignedInteger('relatable_id'); |
| 19 | 19 | $table->string('relatable_type')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('users', function (Blueprint $table) { |
|
| 16 | + Schema::create('users', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('upload_id')->nullable(); |
| 19 | 19 | $table->unsignedInteger('related_id')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('uploads', function (Blueprint $table) { |
|
| 16 | + Schema::create('uploads', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('user_id')->nullable(); |
| 19 | 19 | $table->string('location'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('related_user', function (Blueprint $table) { |
|
| 16 | + Schema::create('related_user', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('user_id'); |
| 19 | 19 | $table->unsignedInteger('related_id'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('upload_user', function (Blueprint $table) { |
|
| 16 | + Schema::create('upload_user', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('upload_id'); |
| 19 | 19 | $table->unsignedInteger('user_id'); |