解决铃铛404问题

This commit is contained in:
liguangye 2016-09-18 14:20:08 +08:00
parent b6389a22f3
commit 53bdeed1e4
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,3 @@
<% unless activity.author.nil? %>
<div class="resources mt10" id="user_activity_<%= user_activity_id%>">
<div class="homepagePostBrief">
<div class="homepagePostPortrait">
@ -104,4 +103,3 @@
user_card_show_hide();
});
</script>
<% end %>

View File

@ -0,0 +1,13 @@
class UpdateIssueAuthor < ActiveRecord::Migration
def up
begin
issue = Issue.find(9377)
issue.update_column(:author_id, 15341)
rescue Exception => e
puts e
end
end
def down
end
end