修改点击图片跳转错误的bug
This commit is contained in:
parent
85a23c468e
commit
2694611eed
|
@ -98,7 +98,7 @@
|
|||
<% for user in @users -%>
|
||||
<div class="well">
|
||||
<%= content_tag "p", "#{format_date(user.created_on)}#{l(:label_member_since)}", :class => "float_right member_since" %>
|
||||
<%= get_avatar?(user) ? (link_to image_tag(avatar_image(user), :class => 'avatar'), :class => "avatar") : (link_to image_tag("/images/12_50.png", :class => 'avatar'), :class => "avatar") %>
|
||||
<%= get_avatar?(user) ? (link_to image_tag(avatar_image(user), :class => 'avatar'), user_path(user), :class => "avatar") : (link_to image_tag("/images/12_50.png", :class => 'avatar'), user_path(user), :class => "avatar") %>
|
||||
<%= content_tag "div", link_to_user(user), :class => "nomargin avatar_name" %>
|
||||
<%= content_tag "div", content_tag("p", user.firstname), :class => "clear avatar_name" %>
|
||||
<p>
|
||||
|
|
|
@ -401,7 +401,7 @@ RedmineApp::Application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
##############测试留言功能 fq
|
||||
##############测试留言功能 fq
|
||||
post 'words/new', :to => 'words#new'
|
||||
post 'words/create', :to => 'words#create'
|
||||
post 'words/append', :to => 'words#append'
|
||||
|
@ -417,12 +417,12 @@ RedmineApp::Application.routes.draw do
|
|||
match 'bids/new_bid', :controller => 'bids', :action => 'new_bid'
|
||||
match 'bids/:id/show_project', :controller => 'bids', :action => 'show_project', :as => 'project_for_bid'
|
||||
match 'bids/:id/add', :controller => 'bids', :action => 'add'
|
||||
# added by young
|
||||
# added by young
|
||||
match 'bids', :controller => 'bids', :action => 'index'
|
||||
|
||||
match 'bids/:id', :controller => 'bids', :action => 'show', :as => 'respond'
|
||||
|
||||
########### added by liuping
|
||||
########### added by liuping
|
||||
match 'tags/add_tag',:to => 'tags#add_tag',:as=>"add_tag"
|
||||
match 'tags/delete_tag',:to => 'tags#delete_tag',:as=>"add_tag"
|
||||
|
||||
|
|
Loading…
Reference in New Issue