File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function getCrop()
25
25
/**
26
26
* Crop the image (called via ajax).
27
27
*/
28
- public function getCropimage ($ overWrite = true )
28
+ public function getCropImage ($ overWrite = true )
29
29
{
30
30
$ image_name = request ('img ' );
31
31
$ image_path = $ this ->lfm ->setName ($ image_name )->path ('absolute ' );
@@ -52,7 +52,7 @@ public function getCropimage($overWrite = true)
52
52
event (new ImageWasCropped ($ image_path ));
53
53
}
54
54
55
- public function getNewCropimage ()
55
+ public function getNewCropImage ()
56
56
{
57
57
$ this ->getCropimage (false );
58
58
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function move()
58
58
->with ('items ' , $ items );
59
59
}
60
60
61
- public function domove ()
61
+ public function doMove ()
62
62
{
63
63
$ target = $ this ->helper ->input ('goToFolder ' );
64
64
$ items = $ this ->helper ->input ('items ' );
Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ public static function routes()
319
319
]);
320
320
321
321
Route::get ('/domove ' , [
322
- 'uses ' => 'ItemsController@domove ' ,
323
- 'as ' => 'domove '
322
+ 'uses ' => 'ItemsController@doMove ' ,
323
+ 'as ' => 'doMove '
324
324
]);
325
325
326
326
// folders
@@ -341,12 +341,12 @@ public static function routes()
341
341
'as ' => 'getCrop ' ,
342
342
]);
343
343
Route::get ('/cropimage ' , [
344
- 'uses ' => 'CropController@getCropimage ' ,
345
- 'as ' => 'getCropimage ' ,
344
+ 'uses ' => 'CropController@getCropImage ' ,
345
+ 'as ' => 'getCropImage ' ,
346
346
]);
347
347
Route::get ('/cropnewimage ' , [
348
- 'uses ' => 'CropController@getNewCropimage ' ,
349
- 'as ' => 'getCropnewimage ' ,
348
+ 'uses ' => 'CropController@getNewCropImage ' ,
349
+ 'as ' => 'getNewCropImage ' ,
350
350
]);
351
351
352
352
// rename
You can’t perform that action at this time.
0 commit comments