summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-07-29 20:22:56 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-07-29 20:22:56 +0200
commit5fb708a874ea85f483f272ad29f78d45c7bf5526 (patch)
treeff7ac53e477c1c4f7fe183791a152e2027d4e189 /views
parent9ae22f10ce3cbcfad91668ca7234058c0a55550f (diff)
downloadcollection-json-explorer-5fb708a874ea85f483f272ad29f78d45c7bf5526.tar.gz
collection-json-explorer-5fb708a874ea85f483f272ad29f78d45c7bf5526.tar.bz2
collection-json-explorer-5fb708a874ea85f483f272ad29f78d45c7bf5526.tar.xz
collection-json-explorer-5fb708a874ea85f483f272ad29f78d45c7bf5526.zip
data.jade: Making sure 'params' is always available.HEADmaster
Diffstat (limited to 'views')
-rw-r--r--views/data.jade1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/data.jade b/views/data.jade
index 13915cc..21a90c0 100644
--- a/views/data.jade
+++ b/views/data.jade
@@ -402,6 +402,7 @@ block inner_content
block content
- var collection = root.collection
+ - var params = params || {}
div(class='row-fluid')
div(class='span3')
block sidebar