From c7fedeb97a73f750513581e345a3edf99e847fe5 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 20 Jun 2011 16:59:06 -0300 Subject: [PATCH] Replacing url by view_url where should be view --- app/views/cms/view.rhtml | 2 +- app/views/search/_article.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/cms/view.rhtml b/app/views/cms/view.rhtml index 2a4a37c..9eea642 100644 --- a/app/views/cms/view.rhtml +++ b/app/views/cms/view.rhtml @@ -50,7 +50,7 @@ <%= button_without_text :edit, _('Edit'), :action => 'edit', :id => article.id %> - <%= button_without_text :eyes, _('Public view'), article.url %> + <%= button_without_text :eyes, _('Public view'), article.view_url %> <%= display_spread_button(profile, article) unless article.folder? %> <% if !environment.enabled?('cant_change_homepage') %> <%= button_without_text :home, _('Use as homepage'), { :action => 'set_home_page', :id => article.id }, :method => :post %> diff --git a/app/views/search/_article.rhtml b/app/views/search/_article.rhtml index b8dfeaf..f2309da 100644 --- a/app/views/search/_article.rhtml +++ b/app/views/search/_article.rhtml @@ -1,5 +1,5 @@
  • - <%= link_to(article.title, article.url) %> + <%= link_to(article.title, article.view_url) %>
    <% if article.last_changed_by %> -- libgit2 0.21.2