Skip to content

Commit

Permalink
JC: added suburi when calling path outside of customerx. Caused missi…
Browse files Browse the repository at this point in the history
…ng suburi in path
  • Loading branch information
emclab committed Aug 21, 2013
1 parent a417fe7 commit f05702c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/customerx/customer_comm_records/show.html.erb
Expand Up @@ -62,7 +62,7 @@
<tr>
<th>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<%= link_to '新Log', commonx.new_log_path(:resource_id => @customer_comm_record.id, :resource_name => params[:controller], :format => :js),
<%= link_to '新Log', SUBURI + commonx.new_log_path(:resource_id => @customer_comm_record.id, :resource_name => params[:controller], :subaction => 'customer_comm_record', :format => :js),
:remote => true, :id => 'new_log_link', :class => BUTTONS_CLS['action'] if has_action_right?('create_customer_comm_record', 'commonx_logs') %> </th>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion app/views/customerx/sales_leads/show.html.erb
Expand Up @@ -76,7 +76,7 @@
<tr>
<th>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<%= link_to '新Log', commonx.new_path(:resource_id => @sales_lead.id, :resource_name => params[:controller], :format => :js),
<%= link_to '新Log', SUBURI + commonx.new_log_path(:resource_id => @sales_lead.id, :resource_name => params[:controller], :subaction => 'sales_lead', :format => :js),
:remote => true, :id => 'new_log_link', :class => BUTTONS_CLS['action'] if has_action_right?('create_sales_lead', 'commonx_logs') %> </th>
</tr>
</table>
Expand Down

0 comments on commit f05702c

Please sign in to comment.