mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Removes unnecessary instance vars.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user