修改《课程--留言:给课程留言却返回404》bug
Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
parent
d5100e4808
commit
3315116832
|
@ -15,7 +15,8 @@ class Contest < ActiveRecord::Base
|
|||
has_many :praise_tread, as: :praise_tread_object, dependent: :destroy
|
||||
has_many :contestnotifications, :dependent => :destroy, :include => :author
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
acts_as_attachable
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ a:hover.mail_reply{ background:#06a9bc; text-decoration:none;}
|
|||
</div><!--mail_head end-->
|
||||
<%= yield %>
|
||||
<hr />
|
||||
<div class="mail_foot"><%= link_to("退订该邮件?", @user_url) %> </div><!--mail_foot end-->
|
||||
<span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %></span><!--mail_foot end-->
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
|
||||
|
||||
</div>
|
||||
<div class="mail_foot"><%= link_to("退订该邮件?", @user_url) %> </div>
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
|
||||
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
||||
<%= link_to("退订该邮件?", @user_url) %>
|
|
@ -11,3 +11,5 @@
|
|||
<span style="float: left"><strong><%= l(:field_content)%>:</strong></span><span style="float: left; width: 540px"><%= @journal.notes %></span>
|
||||
<hr />
|
||||
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
||||
<div class="mail_foot"><%= link_to("退订该邮件?", @user_url) %> </div>
|
||||
|
||||
|
|
|
@ -12,3 +12,5 @@
|
|||
<% end -%>
|
||||
----------------------------------------
|
||||
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
||||
|
||||
<%= link_to("退订该邮件?", @user_url) %>
|
Loading…
Reference in New Issue