Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 3b912eb

Browse files
committed
help: point to the API documentation on production
Depends on #1645 Signed-off-by: Miquel Sabaté Solà <[email protected]>
1 parent d0ed831 commit 3b912eb

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

app/views/help/index.slim

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@
33
h5 Help
44
.panel-body.table-responsive
55
div
6-
span
6+
p
77
| Check one of the following topics:
88

9-
br
10-
11-
ul
12-
li
13-
= link_to "First steps into Portus", "http://port.us.org/docs/first-steps.html"
14-
li
15-
= link_to "Explore all the features", "http://port.us.org/features.html"
16-
li
17-
= link_to "Frequently Asked Questions", "http://port.us.org/docs/FAQ.html"
18-
li
19-
= link_to "Configuring Portus", "http://port.us.org/docs/Configuring-Portus.html"
20-
- unless Rails.env.production?
9+
p
10+
ul
11+
li
12+
= link_to "First steps into Portus", "http://port.us.org/docs/first-steps.html"
13+
li
14+
= link_to "Explore all the features", "http://port.us.org/features.html"
15+
li
16+
= link_to "Frequently Asked Questions", "http://port.us.org/docs/FAQ.html"
17+
li
18+
= link_to "Configuring Portus", "http://port.us.org/docs/Configuring-Portus.html"
2119
li
22-
= link_to "API Documentation", "/documentation"
20+
- if Rails.env.production?
21+
= link_to "API Documentation", "http://port.us.org/docs/API.html"
22+
- else
23+
= link_to "API Documentation", "/documentation"

0 commit comments

Comments
 (0)