app/controllers/welcome_controller.rb
# The home page: all static content, barring the 3 most recent news retrieved in this method
The home page: all static content, barring the 3 most recent news retrieved in this method
The home page : all static content barring the 3 most recent news retrieved in this method
def index
		@news = News.order("publication_date DESC").limit(3).all
	end
def index @news = News . order ( "publication_date DESC" ) . limit ( 3 ) . all end
The home page: all static content, barring the 3 most recent news retrieved in this method
The home page : all static content barring the 3 most recent news retrieved in this method