Sha256: 6f7975873cca724cae921a7d588d40c74392e22e4b4eff74ddfdcd454c22107d
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
module Bloggybak class PostsController < ApplicationController def show @post = Post.find_by_slug(params[:slug]) redirect_to root_url if @post.nil? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bloggybak-0.1.2 | app/controllers/bloggybak/posts_controller.rb |