mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
add links to RSS feeds into application header
This commit is contained in:
parent
34ad1c9056
commit
1ef2c11355
@ -65,6 +65,9 @@
|
|||||||
<link rel="shortcut icon" type="image/ico" href="<%= CustomAsset.get_url('favicon-file') %>">
|
<link rel="shortcut icon" type="image/ico" href="<%= CustomAsset.get_url('favicon-file') %>">
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<!-- RSS -->
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS: <%= t('app.public.projects_list.the_fablab_projects') %>" href="<%= rss_projects_path %>.xml">
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS: <%= t('app.public.events_list.the_fablab_s_events') %>" href="<%= rss_events_path %>.xml">
|
||||||
|
|
||||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
@ -135,8 +135,8 @@ Rails.application.routes.draw do
|
|||||||
# rss
|
# rss
|
||||||
|
|
||||||
namespace :rss, as: nil, defaults: { format: :xml } do
|
namespace :rss, as: nil, defaults: { format: :xml } do
|
||||||
resources :projects, only: [:index]
|
resources :projects, only: [:index], as: 'rss_projects'
|
||||||
resources :events, only: [:index]
|
resources :events, only: [:index], as: 'rss_events'
|
||||||
end
|
end
|
||||||
|
|
||||||
# open_api
|
# open_api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user