Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-23 13:18:51 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-23 13:18:51 +0400
commitf0bfeb6e33f8d3620b7d5d6da8439fbdf954d6cb (patch)
treeba5b41c3fbc5c796dc9dc8c60301b4612643d7fd /app/views/explore
parent367445fdcde4d07a685610449a2ab4d43b1fc507 (diff)
Refactor explore area tests. Replaced old links
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/projects/index.html.haml12
-rw-r--r--app/views/explore/projects/trending.html.haml2
2 files changed, 7 insertions, 7 deletions
diff --git a/app/views/explore/projects/index.html.haml b/app/views/explore/projects/index.html.haml
index 32796c8b2b8..c8bf78385e8 100644
--- a/app/views/explore/projects/index.html.haml
+++ b/app/views/explore/projects/index.html.haml
@@ -1,6 +1,6 @@
.clearfix
.pull-left
- = form_tag public_projects_path, method: :get, class: 'form-inline form-tiny' do |f|
+ = form_tag explore_projects_path, method: :get, class: 'form-inline form-tiny' do |f|
.form-group
= search_field_tag :search, params[:search], placeholder: "Filter by name", class: "form-control search-text-input input-mn-300", id: "projects_search"
.form-group
@@ -17,15 +17,15 @@
%b.caret
%ul.dropdown-menu
%li
- = link_to public_projects_path(sort: nil) do
+ = link_to explore_projects_path(sort: nil) do
Name
- = link_to public_projects_path(sort: 'newest') do
+ = link_to explore_projects_path(sort: 'newest') do
Newest
- = link_to public_projects_path(sort: 'oldest') do
+ = link_to explore_projects_path(sort: 'oldest') do
Oldest
- = link_to public_projects_path(sort: 'recently_updated') do
+ = link_to explore_projects_path(sort: 'recently_updated') do
Recently updated
- = link_to public_projects_path(sort: 'last_updated') do
+ = link_to explore_projects_path(sort: 'last_updated') do
Last updated
%hr
diff --git a/app/views/explore/projects/trending.html.haml b/app/views/explore/projects/trending.html.haml
index 5b28273d5dd..18bb1ac0ba4 100644
--- a/app/views/explore/projects/trending.html.haml
+++ b/app/views/explore/projects/trending.html.haml
@@ -8,4 +8,4 @@
= render @trending_projects
.center
- = link_to 'Show all projects', public_projects_path, class: 'btn btn-primary'
+ = link_to 'Show all projects', explore_projects_path, class: 'btn btn-primary'