From d296d69aa317eb7987e15aac2211bf28fc5f81c5 Mon Sep 17 00:00:00 2001 From: Micha Wrobel Date: Sat, 3 Mar 2012 19:02:04 +0100 Subject: [PATCH] Add information about current_user --- app/views/layouts/_current_user_js.html.erb | 5 +++++ app/views/layouts/application.html.erb | 1 + 2 files changed, 6 insertions(+) create mode 100644 app/views/layouts/_current_user_js.html.erb diff --git a/app/views/layouts/_current_user_js.html.erb b/app/views/layouts/_current_user_js.html.erb new file mode 100644 index 0000000..af2c41c --- /dev/null +++ b/app/views/layouts/_current_user_js.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 931f8f0..df25f58 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -4,6 +4,7 @@ ascii.io <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> + <%= render :partial => 'layouts/current_user_js' %> <%= csrf_meta_tags %> <%= render :partial => 'layouts/ga' %>