fix commit bugs

This commit is contained in:
Christophe Vilayphiou committed 2012-09-13 15:53:36 +08:00
1 parent 45ccc315c7
commit 2e9af5d1a8
4 files changed
+50 -13

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
class ApplicationController < ActionController::Base
protect_from_forgery
include ParserFrontEnd, ParserBackEnd
include ParserFrontEnd, ParserBackEnd, ApplicationHelper
layout :layout_by_resource
+2 -2
View File
@@ -10,8 +10,8 @@
</ul>
</div>
</td>
<td><%= asset.data.file.content_type %></td>
<td><%= number_to_human_size(asset.data.file.file_length) %></td>
<td><%= asset.data.file.content_type rescue nil %></td>
<td><%= number_to_human_size(asset.data.file.file_length) rescue nil %></td>
<td><%= asset.description rescue nil %></td>
<td>
<div class="label-group">