volontariat/voluntary

View on GitHub
app/controllers/home_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class HomeController < ApplicationController
  def index
    @projects = Project.limit(5).order('created_at DESC').all
    @page = Page.where(name: 'Home').first
  end
end