解决铃铛404问题
This commit is contained in:
parent
b6389a22f3
commit
53bdeed1e4
|
@ -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 %>
|
|
@ -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
|
Loading…
Reference in New Issue