PostController
class PostController extends Controller (View source)
Controller for a post (post page, create, and update).
Deletion is handled by the DeletePost action. Only editing of the post title/body is done through this controller - updating other attributes (channel, locked) is done through various Actions.
Traits
AuthorizesRequests
DispatchesJobs
ValidatesRequests
Methods
Details
__construct()
No description
show(Post $post, Request $request)
No description
create()
No description
store(Request $request)
No description
edit(Post $post)
No description
update(Post $post, Request $request)
No description
reactions(Post $post, ReactionType $reactionType)
No description