Sha256: 6425520242f86a4e18f217ede9dbb4685cb09cc848fc4c9df2396568772b4904
Contents?: true
Size: 287 Bytes
Versions: 12
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true module Thredded class PostPermalinksController < Thredded::ApplicationController def show post = Post.find(params[:id]) authorize post, :read? redirect_to post_url(post, user: thredded_current_user), status: :found end end end
Version data entries
12 entries across 12 versions & 1 rubygems