- <%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
+ <%= form_tag(projects_search_path, :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 20 %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb
index 1a4ed1b47..7504e5755 100644
--- a/app/views/layouts/base_projects.html.erb
+++ b/app/views/layouts/base_projects.html.erb
@@ -30,7 +30,7 @@
<%= l(:label_user_location) %> : |
- <%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
+ <%= form_tag(projects_search_path, :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 20 %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
diff --git a/app/views/projects/course.html.erb b/app/views/projects/course.html.erb
index d7a84f534..1359b8bea 100644
--- a/app/views/projects/course.html.erb
+++ b/app/views/projects/course.html.erb
@@ -3,7 +3,7 @@
<% end %>
- <%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>
+ <%= form_tag(projects_search_path, :method => :get) do %>
<%= l(:label_course_practice) %> |
diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb
index 4bc094f7e..c4b2bdc9e 100644
--- a/app/views/projects/index.html.erb
+++ b/app/views/projects/index.html.erb
@@ -3,7 +3,7 @@
<% end %>
- <%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
+ <%= form_tag(projects_search_path, :method => :get) do %>
<%= l(:label_project_deposit) %> |
diff --git a/app/views/projects/search.html.erb b/app/views/projects/search.html.erb
index 79d21dcb0..b1bd3d41e 100644
--- a/app/views/projects/search.html.erb
+++ b/app/views/projects/search.html.erb
@@ -2,7 +2,7 @@
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
- <%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
+ <%= form_tag(projects_search_path, :method => :get) do %>
<% if params[:project_type] == "1" %>
|