Make delete routes work. (#3077)

* Make delete routes work.  We put a little form in the modal that spoofs the delete field.

* Fix route on creating a user.

* Fix redundant id parameter.

* Port acceptance tests to new urls.
This commit is contained in:
Daniel Meltzer
2016-12-19 12:42:33 -06:00
committed by snipe
parent c7e98366be
commit ae2cb5fe68
25 changed files with 49 additions and 5798 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ class AssetsController extends Controller
* @since [v1.0]
* @return Redirect
*/
public function getDelete($assetId)
public function destroy($assetId)
{
// Check if the asset exists
if (is_null($asset = Asset::find($assetId))) {