Sha256: d1a604990dfc7c5628f8d58d0f213d0c374035a750a87e44733703553ca02ae8
Contents?: true
Size: 230 Bytes
Versions: 21
Compression:
Stored size: 230 Bytes
Contents
module Blog::Controllers class View < R '/view/(\d+)' def get post_id @post = Post.find post_id @comments = Models::Comment.find :all, :conditions => ['post_id = ?', post_id] render :view end end end
Version data entries
21 entries across 21 versions & 1 rubygems