Completed
Push — master ( 6183d2...a33b71 )
by David
04:54
created
src/Http/routes.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -29,28 +29,28 @@
 block discarded – undo
29 29
 
30 30
 Route::group(['namespace' => 'Taskforcedev\LaravelForum\Http\Controllers', 'middleware' => 'api'], function() {
31 31
 
32
-  Route::group(['prefix' => 'api'], function() {
33
-      /* Forum Category */
34
-      Route::post('forum_category',   [ 'as' => 'laravel-forum.api.store.category',  'uses' => 'ApiController@forumCategoryStore'  ]);
35
-      Route::delete('forum_category', [ 'as' => 'laravel-forum.api.delete.forum.category', 'uses' => 'ApiController@forumCategoryDelete' ]);
36
-
37
-      /* Forum */
38
-      Route::post('forum',   [ 'as' => 'laravel-forum.api.store.forum',  'uses' => 'ApiController@forumStore'  ]);
39
-      Route::delete('forum', [ 'as' => 'laravel-forum.api.delete.forum', 'uses' => 'ApiController@forumDelete' ]);
40
-
41
-      /* Forum Post */
42
-      Route::post('forum_post',              [ 'as' => 'laravel-forum.api.store.forum.post',  'uses' => 'ApiController@forumPostStore' ]);
43
-      Route::delete('forum/{id}/post/{pid}', [ 'as' => 'laravel-forum.api.delete.forum.post', 'uses' => 'ApiController@postDelete'     ]);
44
-      /* Forum Post: Reply */
45
-      Route::post('forum_reply', [ 'as' => 'laravel-forum.api.store.forum.reply', 'uses' => 'ApiController@forumReplyStore' ]);
46
-
47
-      /* Lock Forum Post */
48
-      Route::post('post/unlock/{id}', [ 'as' => 'laravel-forum.api.post.unlock', 'uses' => 'ApiController@unlockPost' ]);
49
-      Route::post('post/lock/{id}',   [ 'as' => 'laravel-forum.api.post.lock',   'uses' => 'ApiController@lockPost'   ]);
50
-
51
-      /* Sticky Forum Post */
52
-      Route::post('post/sticky/{id}',   [ 'as' => 'laravel-forum.api.post.sticky',   'uses' => 'ApiController@stickyPost'   ]);
53
-      Route::post('post/unsticky/{id}', [ 'as' => 'laravel-forum.api.post.unsticky', 'uses' => 'ApiController@unstickyPost' ]);
54
-  });
32
+    Route::group(['prefix' => 'api'], function() {
33
+        /* Forum Category */
34
+        Route::post('forum_category',   [ 'as' => 'laravel-forum.api.store.category',  'uses' => 'ApiController@forumCategoryStore'  ]);
35
+        Route::delete('forum_category', [ 'as' => 'laravel-forum.api.delete.forum.category', 'uses' => 'ApiController@forumCategoryDelete' ]);
36
+
37
+        /* Forum */
38
+        Route::post('forum',   [ 'as' => 'laravel-forum.api.store.forum',  'uses' => 'ApiController@forumStore'  ]);
39
+        Route::delete('forum', [ 'as' => 'laravel-forum.api.delete.forum', 'uses' => 'ApiController@forumDelete' ]);
40
+
41
+        /* Forum Post */
42
+        Route::post('forum_post',              [ 'as' => 'laravel-forum.api.store.forum.post',  'uses' => 'ApiController@forumPostStore' ]);
43
+        Route::delete('forum/{id}/post/{pid}', [ 'as' => 'laravel-forum.api.delete.forum.post', 'uses' => 'ApiController@postDelete'     ]);
44
+        /* Forum Post: Reply */
45
+        Route::post('forum_reply', [ 'as' => 'laravel-forum.api.store.forum.reply', 'uses' => 'ApiController@forumReplyStore' ]);
46
+
47
+        /* Lock Forum Post */
48
+        Route::post('post/unlock/{id}', [ 'as' => 'laravel-forum.api.post.unlock', 'uses' => 'ApiController@unlockPost' ]);
49
+        Route::post('post/lock/{id}',   [ 'as' => 'laravel-forum.api.post.lock',   'uses' => 'ApiController@lockPost'   ]);
50
+
51
+        /* Sticky Forum Post */
52
+        Route::post('post/sticky/{id}',   [ 'as' => 'laravel-forum.api.post.sticky',   'uses' => 'ApiController@stickyPost'   ]);
53
+        Route::post('post/unsticky/{id}', [ 'as' => 'laravel-forum.api.post.unsticky', 'uses' => 'ApiController@unstickyPost' ]);
54
+    });
55 55
 
56 56
 });
Please login to merge, or discard this patch.