mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
Merge pull request #2003 from velesin/posts_controller_instance_vars_fix
Removes unnecessary instance vars.
This commit is contained in:
commit
d727915fd4
1 changed files with 4 additions and 4 deletions
|
@ -113,13 +113,13 @@ class PostsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@post = find_post_from_params
|
post = find_post_from_params
|
||||||
display_post(@post)
|
display_post(post)
|
||||||
end
|
end
|
||||||
|
|
||||||
def by_number
|
def by_number
|
||||||
@post = find_post_from_params_by_number
|
post = find_post_from_params_by_number
|
||||||
display_post(@post)
|
display_post(post)
|
||||||
end
|
end
|
||||||
|
|
||||||
def reply_history
|
def reply_history
|
||||||
|
|
Loading…
Reference in a new issue