File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ public function __construct($params)
195195
196196 private static function getURLFromParameters ($ params )
197197 {
198- $ url = '/location- search? ' ;
198+ $ url = '/location/ search? ' ;
199199 $ needs_ampersand = false ;
200200 foreach ($ params as $ param_name => $ param_value ) {
201201 if ($ needs_ampersand ) {
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ function updateCategoryLinksOffKeywords()
181181 var $this = $ ( this ) ;
182182 var oldUrl = $this . attr ( 'href' ) ;
183183 var location_category_id = getLocationCategoryIdFromURL ( oldUrl ) ;
184- var newUrl = '/location- search?location_tag_id=' + location_category_id ;
184+ var newUrl = '/location/ search?location_tag_id=' + location_category_id ;
185185 if ( keywords )
186186 {
187187 newUrl = newUrl + '&keywords=' + keywords ;
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function rotateImage()
153153 'data' : {
154154 '_token' : token
155155 } ,
156- 'url' : '/profile-photo- rotate' ,
156+ 'url' : '/profile-photo/ rotate' ,
157157 'success' : function ( ) {
158158 randomizePhotoURL ( ) . then ( showRotateFeature ) ;
159159 }
Original file line number Diff line number Diff line change 6666 </div >
6767 <div class =" search" >
6868 {{ csrf_field () } }
69- <form role =" search" action =" /location- search" >
69+ <form role =" search" action =" /location/ search" >
7070 <div class =" address-row" >
7171 <datalist id =" location_search_options" >
7272 @foreach ($location_search_options as $option )
@@ -104,7 +104,7 @@ class="form-control"
104104 @foreach ( $location_tags as $key => $value )
105105
106106 <div class =" location-tag col-sm-4 col-xs-6" >
107- <a href =" /location- search?location_tag_id={{ $value -> id } }" title =" {{ $value -> description } }" >
107+ <a href =" /location/ search?location_tag_id={{ $value -> id } }" title =" {{ $value -> description } }" >
108108 {{ $value -> name } }
109109 </a >
110110 </div >
Original file line number Diff line number Diff line change 3535 </a >
3636 @endif
3737 @foreach ( $location -> tags ()-> orderBy (' name' )-> get () as $location_tag )
38- <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location- search?location_tag_id={{ $location_tag -> id } }" >
38+ <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location/ search?location_tag_id={{ $location_tag -> id } }" >
3939 <span class =" name" >{{ $location_tag -> name } } </span >
4040 <span class =" icon {{ $location_tag -> icon_selector } }" ></span >
4141 </a >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function centreLocation() {
5151 <div class =" col-xs-7 text-right" >
5252 <div class =" location-tags" >
5353 @foreach ( $location -> tags ()-> orderBy (' name' )-> get () as $location_tag )
54- <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location- search?location_tag_id={{ $location_tag -> id } }" >
54+ <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location/ search?location_tag_id={{ $location_tag -> id } }" >
5555 <span class =" name" >{{ $location_tag -> name } } </span >
5656 <span class =" icon {{ $location_tag -> icon_selector } }" ></span >
5757 </a >
Original file line number Diff line number Diff line change 1717 <div class =" col-xs-7 text-right" >
1818 <div class =" location-tags" >
1919 @foreach ( $location -> tags ()-> orderBy (' name' )-> get () as $location_tag )
20- <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location- search?location_tag_id={{ $location_tag -> id } }" >
20+ <a class =" location-tag" title =" {{ $location_tag -> name } }" href =" /location/ search?location_tag_id={{ $location_tag -> id } }" >
2121 <span class =" name" >{{ $location_tag -> name } } </span >
2222 <span class =" icon {{ $location_tag -> icon_selector } }" ></span >
2323 </a >
Original file line number Diff line number Diff line change 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" >
Original file line number Diff line number Diff line change 11<?php
22
3- Route::get ('location- search ' , 'LocationSearchController@search ' );
3+ Route::get ('location/ search ' , 'LocationSearchController@search ' );
44Route::get ('get-nearby-locations/{longitude}/{latitude} ' , 'LocationManagementController@getLocationsNear ' );
55Route::get ('delete-my-location/{location_id} ' , 'LocationManagementController@deleteMyLocation ' );
66Route::get ('location-modify/{location_id} ' , 'LocationManagementController@show ' );
Original file line number Diff line number Diff line change 1010});
1111
1212Route::get ('profile-photo ' , 'ProfilePhotoController@photo ' );
13- Route::post ('profile-photo- rotate ' , 'ProfilePhotoController@rotate ' );
14- Route::get ('profile-photo- delete ' , 'ProfilePhotoController@delete ' );
13+ Route::post ('profile-photo/ rotate ' , 'ProfilePhotoController@rotate ' );
14+ Route::get ('profile-photo/ delete ' , 'ProfilePhotoController@delete ' );
You can’t perform that action at this time.
0 commit comments