Skip to content

Commit

Permalink
restrict template vars by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed May 10, 2012
1 parent 8ec5026 commit 4204b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/environment.py
Expand Up @@ -151,7 +151,7 @@ def find_controller(self, controller):
config['pylons.app_globals'] = app_globals.Globals()

# add helper functions
restrict_helpers = asbool(config.get('ckan.restrict_template_vars', 'false'))
restrict_helpers = asbool(config.get('ckan.restrict_template_vars', 'true'))
helpers = _Helpers(h, restrict_helpers)
config['pylons.h'] = helpers

Expand Down

0 comments on commit 4204b3f

Please sign in to comment.