<% if request.env['HTTP_USER_AGENT'] =~ /MSIE/ || request.env['HTTP_USER_AGENT'] =~ /Trident\// %> <%= stylesheet_link_tag "archive/pdf_es5/viewer.css" %> <%= javascript_include_tag "archive/pdf_es5/pdf.js" %> <%= javascript_include_tag "archive/pdf_es5/viewer.js" %> <% else %> <%= stylesheet_link_tag "archive/pdf/viewer.css" %> <%= javascript_include_tag "archive/pdf/pdf.js" %> <%= javascript_include_tag "archive/pdf/viewer.js" %> <% end %>

<%=@filename%>

Current View