404 method not found

Show 404 page if method not found on controller and allow page url without trailing slashes