Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only show query parameters if it exists

  • Loading branch information...
commit b88c387d07392469fa9ddf1138daa6399e8f3c3a 1 parent 7db4b29
Eric Oestrich authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/views/example.haml
2  lib/views/example.haml
View
@@ -66,7 +66,7 @@
%h4 Route
%pre.route.highlight== #{request["request_method"]} #{request["request_path"]}
- - if request["request_query_parameters"]
+ - if !request["request_query_parameters"].empty?
%section.query-parameters
%h4 Query Parameters
%pre.query-parameters.highlight
Please sign in to comment.
Something went wrong with that request. Please try again.