Removes unnecessary instance vars.

This commit is contained in:
Wojciech Zawistowski 2014-02-24 18:03:29 +01:00
parent 7e8b0b0e15
commit 227c0af20b
1 changed files with 4 additions and 4 deletions

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