Commit 7fc83549e92ccc86984b8fe4d87a86ef0b34265d

Authored by Paulo Meireles
Committed by Paulo Meireles
1 parent ebc7e44a

Refactoring how to get data profile

plugins/mezuro/views/content_viewer/show_project.rhtml
... ... @@ -68,7 +68,7 @@
68 68 </table>
69 69 <h5><%= _('Source tree') %></h5>
70 70 <%= render :partial => 'source_tree', :locals => { :source_tree => @project_result.source_tree } %>
71   - <div id='module-result' data-profile="<%= @page.profile.name.downcase %>" data-project-id='<%= @page.id %>'>
  71 + <div id='module-result' data-profile="<%= @page.profile.identifier %>" data-project-id='<%= @page.id %>'>
72 72 <%= render :partial => 'module_result', :locals => { :module_result => @page.module_result(@project.name) } %>
73 73 </div>
74 74 <div id="loading-message">
... ...