Skip to content

Commit

Permalink
Fix atom feed in <head> for anonymous user
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Aug 7, 2014
1 parent 2e75a66 commit 7e66ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/index.html.haml
@@ -1,9 +1,9 @@
- content_for :column do
= render 'polls/box'

- feed "Flux Atom des dépêches", "/news.atom"
- cache_unless account_signed_in?, "home/#{@order}/#{@nodes.current_page}", expires_in: 1.minute do
=h1 "Accueil"
- feed "Flux Atom des dépêches", "/news.atom"
- if @ppp
%section#phare
= render @ppp
Expand Down

0 comments on commit 7e66ff6

Please sign in to comment.