Merge pull request #2003 from velesin/posts_controller_instance_vars_fix

Removes unnecessary instance vars.
This commit is contained in:
Robin Ward 2014-02-24 12:17:13 -05:00
commit d727915fd4

View File

@ -113,13 +113,13 @@ class PostsController < ApplicationController
end
def show
@post = find_post_from_params
display_post(@post)
post = find_post_from_params
display_post(post)
end
def by_number
@post = find_post_from_params_by_number
display_post(@post)
post = find_post_from_params_by_number
display_post(post)
end
def reply_history