From 8db80f1f6d5cf58ed7490803a38b19579496b7eb Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Sat, 19 Jan 2013 01:32:38 +0100 Subject: [PATCH] Rename help#public_area to help#public_access --- app/helpers/application_helper.rb | 1 + app/views/help/public_access.html.haml | 16 ++++++++++++++++ app/views/help/public_area.html.haml | 16 ---------------- config/routes.rb | 2 +- 4 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 app/views/help/public_access.html.haml delete mode 100644 app/views/help/public_area.html.haml diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fe6fe94..fefcb01 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -89,6 +89,7 @@ module ApplicationHelper { label: "System Hooks Help", url: help_system_hooks_path }, { label: "API Help", url: help_api_path }, { label: "Markdown Help", url: help_markdown_path }, + { label: "Public Access Help", url: help_public_access_path }, { label: "SSH Keys Help", url: help_ssh_path }, { label: "Gitlab Rake Tasks Help", url: help_raketasks_path }, ] diff --git a/app/views/help/public_access.html.haml b/app/views/help/public_access.html.haml new file mode 100644 index 0000000..941ab7b --- /dev/null +++ b/app/views/help/public_access.html.haml @@ -0,0 +1,16 @@ +%h3.page_title Public Access +.back_link + = link_to help_path do + ← to index +%hr + +%p + Public area - is part of application with public access. + %br + It used to list all projects with public read-only access. + %br + If you enable public http access to the project - it will appears there + %br + + Follow #{link_to "this link", public_root_path} to visit Public Area + diff --git a/app/views/help/public_area.html.haml b/app/views/help/public_area.html.haml deleted file mode 100644 index a7a86e9..0000000 --- a/app/views/help/public_area.html.haml +++ /dev/null @@ -1,16 +0,0 @@ -%h3.page_title Public Area -.back_link - = link_to help_path do - ← to index -%hr - -%p - Public area - is part of application with public access. - %br - It used to list all projects with public read-only access. - %br - If you enable public http access to the project - it will appears there - %br - - Follow #{link_to "this link", public_root_path} to visit Public Area - diff --git a/config/routes.rb b/config/routes.rb index 4468173..0ec6d9b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -35,7 +35,7 @@ Gitlab::Application.routes.draw do get 'help/markdown' => 'help#markdown' get 'help/ssh' => 'help#ssh' get 'help/raketasks' => 'help#raketasks' - get 'help/public_area' => 'help#public_area' + get 'help/public_access' => 'help#public_access' # # Public namespace -- libgit2 0.21.2