Home How do I check if URL path strictly?
 In my controller method I want to know if the URL path is /404 but not /task/id/95404  redirect_url = request.original_fullpath.include?("404") ? root_path : request.original_url