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