Hi, I am using devise for my user management. I am using angular js for my UI. I have folder structure like this for html: app/assets/partials/ I have added index.html.erb file over it. Now when I am going to access like this: <%= current_user %> I am getting error like: NameError (undefined local variable or method `current_user'' for #<#<Class:0xa06acc0>:0xc2db160>. What to do if I want to use this variable in html files resides in assets pipeline? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.