Commit d2e9a99bdf21bd2c684ab408dd9362c6d5b59adf
Exists in
master
and in
22 other branches
Merge branch 'AI3189-fix_versions_back_button' into 'master'
Ai3189 fix versions back button https://noosfero.org/Development/ActionItem3189 See merge request !266
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/content_viewer/article_versions.html.erb
1 | <div class="article-versions"> | 1 | <div class="article-versions"> |
2 | - <%= button(:back, _('Go back to latest version'), {:action => 'view_page'}) %> | 2 | + <%= button(:back, _('Go back to latest version'), @page.url) %> |
3 | </div> | 3 | </div> |
4 | 4 | ||
5 | <%= article_title(@page, :no_link => true) %> | 5 | <%= article_title(@page, :no_link => true) %> |