revert userscore catch exception, added cache to footer.
This commit is contained in:
parent
8075645591
commit
858a7936b5
|
@ -122,8 +122,8 @@ class UserScore < ActiveRecord::Base
|
|||
Rails.logger.error "[UserScore#influence] ===> #{operate} is not define."
|
||||
return false
|
||||
end
|
||||
#rescue => e
|
||||
#Rails.logger.error "[UserScore#influence] ===> Exception: #{e}."
|
||||
rescue => e
|
||||
Rails.logger.error "[UserScore#influence] ===> Exception: #{e}."
|
||||
end
|
||||
|
||||
# 前略·技术得分
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!--add by huang-->
|
||||
<% cache "footer" do %>
|
||||
<div class="clearfix"></div>
|
||||
<div id="footer" style="margin-left:-5px;padding-top: 20px;clear: both;font-size: 12px;">
|
||||
<div style="border-top:solid 1px #C6E9F1;"></div>
|
||||
|
@ -44,3 +45,5 @@
|
|||
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<% end %>
|
Loading…
Reference in New Issue