fix commit bugs
This commit is contained in:
1 parent
45ccc315c7
commit
2e9af5d1a8
4 files changed
+50
-13
No files matched your search
@@ -1,7 +1,7 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
|
||||
include ParserFrontEnd, ParserBackEnd
|
||||
include ParserFrontEnd, ParserBackEnd, ApplicationHelper
|
||||
|
||||
layout :layout_by_resource
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user