<% if Xray.request_info.present? %>
<% if Xray.request_info[:controller] %>
<%= Xray.request_info[:controller][:name] %>#<%= Xray.request_info[:controller][:action] %>
<% end %>
<% if Xray.request_info[:view] && Xray.request_info.fetch(:controller, {})[:name] != "Rails::InfoController" %>
<% layout_path = lookup_context.find(Xray.request_info[:view][:layout]).identifier %>
<%= layout_path.split('/').last %>
<%= Xray.request_info[:view][:path].split('/').last %>
<% end %>
<% end %>
templates
views
<%= stylesheet_link_tag :xray %>