diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-14 21:31:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-14 21:31:02 +0000 |
commit | 36dbb3906b322b385575ff5d71768a092d4688cf (patch) | |
tree | 33f9dcb355de508cd575c8b4b58df92de81a506f /app/views/layouts | |
parent | 6f5ffce7993923bf6568b1d756b7a101f7b75028 (diff) | |
download | redmine-36dbb3906b322b385575ff5d71768a092d4688cf.tar.gz redmine-36dbb3906b322b385575ff5d71768a092d4688cf.zip |
Send the CSRF token with Ajax requests (#7843).
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5134 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/base.rhtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index fda4e2954..7e9e4e1ec 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -5,6 +5,7 @@ <title><%=h html_title %></title> <meta name="description" content="<%= Redmine::Info.app_name %>" /> <meta name="keywords" content="issue,bug,tracker" /> +<%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'application', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> |