Commit 8db80f1f6d5cf58ed7490803a38b19579496b7eb

Authored by Riyad Preukschas
1 parent 359703c6

Rename help#public_area to help#public_access

app/helpers/application_helper.rb
@@ -89,6 +89,7 @@ module ApplicationHelper @@ -89,6 +89,7 @@ module ApplicationHelper
89 { label: "System Hooks Help", url: help_system_hooks_path }, 89 { label: "System Hooks Help", url: help_system_hooks_path },
90 { label: "API Help", url: help_api_path }, 90 { label: "API Help", url: help_api_path },
91 { label: "Markdown Help", url: help_markdown_path }, 91 { label: "Markdown Help", url: help_markdown_path },
  92 + { label: "Public Access Help", url: help_public_access_path },
92 { label: "SSH Keys Help", url: help_ssh_path }, 93 { label: "SSH Keys Help", url: help_ssh_path },
93 { label: "Gitlab Rake Tasks Help", url: help_raketasks_path }, 94 { label: "Gitlab Rake Tasks Help", url: help_raketasks_path },
94 ] 95 ]
app/views/help/public_access.html.haml 0 → 100644
@@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
  1 +%h3.page_title Public Access
  2 +.back_link
  3 + = link_to help_path do
  4 + ← to index
  5 +%hr
  6 +
  7 +%p
  8 + Public area - is part of application with public access.
  9 + %br
  10 + It used to list all projects with public read-only access.
  11 + %br
  12 + If you enable public http access to the project - it will appears there
  13 + %br
  14 +
  15 + Follow #{link_to "this link", public_root_path} to visit Public Area
  16 +
app/views/help/public_area.html.haml
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -%h3.page_title Public Area  
2 -.back_link  
3 - = link_to help_path do  
4 - ← to index  
5 -%hr  
6 -  
7 -%p  
8 - Public area - is part of application with public access.  
9 - %br  
10 - It used to list all projects with public read-only access.  
11 - %br  
12 - If you enable public http access to the project - it will appears there  
13 - %br  
14 -  
15 - Follow #{link_to "this link", public_root_path} to visit Public Area  
16 -  
config/routes.rb
@@ -35,7 +35,7 @@ Gitlab::Application.routes.draw do @@ -35,7 +35,7 @@ Gitlab::Application.routes.draw do
35 get 'help/markdown' => 'help#markdown' 35 get 'help/markdown' => 'help#markdown'
36 get 'help/ssh' => 'help#ssh' 36 get 'help/ssh' => 'help#ssh'
37 get 'help/raketasks' => 'help#raketasks' 37 get 'help/raketasks' => 'help#raketasks'
38 - get 'help/public_area' => 'help#public_area' 38 + get 'help/public_access' => 'help#public_access'
39 39
40 # 40 #
41 # Public namespace 41 # Public namespace