1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/controllers/rss/projects_controller.rb

8 lines
219 B
Ruby
Raw Normal View History

2016-09-29 10:53:20 +02:00
class Rss::ProjectsController < Rss::RssController
def index
@projects = Project.includes(:project_image, :users).published.order('created_at desc').limit(10)
2020-05-13 15:02:03 +02:00
@fab_name = Setting.get('fablab_name')
2016-09-29 10:53:20 +02:00
end
end