Skip to content

Commit 2bc8f76

Browse files
committed
Rename WhatNow API routes to preparemessages
Change API endpoints from /org/{code}/whatnow and /whatnow/{id} to /org/{code}/preparemessages and /preparemessages/{id} to better reflect their purpose; controller actions remain the same. Also remove an extraneous blank line in WhatNowRepository.php.
1 parent 483656a commit 2bc8f76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

routes/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
], function () {
3636
// Endpoints requiring API key authentication
3737
Route::get('org/{code}', 'OrganisationController@getById');
38-
Route::get('org/{code}/whatnow', 'WhatNowController@getFeed');
39-
Route::get('whatnow/{id}', 'WhatNowController@getPublishedById');
38+
Route::get('org/{code}/preparemessages', 'WhatNowController@getFeed');
39+
Route::get('preparemessages/{id}', 'WhatNowController@getPublishedById');
4040
});
4141

4242
Route::group([

0 commit comments

Comments
 (0)