Skip to content

Commit ad59fc3

Browse files
committed
app: renamed routes from profile-photo-delete to profile-photo/delete
Related to #615
1 parent 340700d commit ad59fc3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/resources/views/pages/profile/profile.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="col-md-3 col-sm-4 col-xs-12">
1515
@if ($has_profile_photo)
1616
<div class="photo-display">
17-
<p class="remove-photo"><a href="/profile-photo-delete">Remove Photo</a></p>
17+
<p class="remove-photo"><a href="/profile-photo/delete">Remove Photo</a></p>
1818
<div id="profile-photo-rotate" onclick="rotateImage()"><i class="fa fa-repeat fa-4x"></i></div>
1919
<div class="photo-changer" onclick="selectImageFile()">
2020
<div class="uploaded-photo">

app/routes/profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
Route::get('profile-photo', 'ProfilePhotoController@photo');
1313
Route::post('profile-photo/rotate', 'ProfilePhotoController@rotate');
14-
Route::get('profile-photo-delete', 'ProfilePhotoController@delete');
14+
Route::get('profile-photo/delete', 'ProfilePhotoController@delete');

0 commit comments

Comments
 (0)