OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32dadb4
)
Update app/views/wikis/pages.html.haml
author
MrHammy
<eekhoorn12@gmail.com>
Fri, 11 Jan 2013 12:40:29 +0000
(13:40 +0100)
committer
MrHammy
<eekhoorn12@gmail.com>
Fri, 11 Jan 2013 12:40:29 +0000
(13:40 +0100)
Changed the link in the pages of the wiki to the direct link instead of the first created page
app/views/wikis/pages.html.haml
patch
|
blob
|
history
diff --git
a/app/views/wikis/pages.html.haml
b/app/views/wikis/pages.html.haml
index
7421d8f
..
04253a8
100644
(file)
--- a/
app/views/wikis/pages.html.haml
+++ b/
app/views/wikis/pages.html.haml
@@
-10,7
+10,7
@@
- @wikis.each_with_index do |wiki_page, i|
%tr
%td
- = link_to wiki_page.title, project_wiki_path(@project, wiki_page
, old_page_id: wiki_page.id
)
+ = link_to wiki_page.title, project_wiki_path(@project, wiki_page)
(#{time_ago_in_words(wiki_page.created_at)}
ago)
%td= wiki_page.slug