Sha256: 5a638d91164240e0a46ac17596b9ab30132f4bfcbf33aad96e88798ba9a24ea4

Contents?: true

Size: 138 Bytes

Versions: 4

Compression:

Stored size: 138 Bytes

Contents

module Miniblog
  class PostsController < ApplicationController
    def index
      @posts = Post.published_and_ordered
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miniblog-1.0.2 app/controllers/miniblog/posts_controller.rb
miniblog-1.0.1 app/controllers/miniblog/posts_controller.rb
miniblog-1.0.0 app/controllers/miniblog/posts_controller.rb
miniblog-1.0.0.beta app/controllers/miniblog/posts_controller.rb