Sha256: d4d68a88b19218a2ce054ab4ff6a78160584731b939cca604ad914b07f16e645

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

class HomeController < ApplicationController
  def index
    @recent_articles = Article.find :all,
                                    :order => 'created_at DESC',
                                    :limit => 5
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hubbub-0.0.11 lib/app/controllers/home_controller.rb
hubbub-0.0.10 lib/app/controllers/home_controller.rb
hubbub-0.0.9 lib/app/controllers/home_controller.rb
hubbub-0.0.8 lib/app/controllers/home_controller.rb
hubbub-0.0.6 lib/app/controllers/home_controller.rb