mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 19:59:33 +00:00
Merge pull request #2366 from riking/patch-5
Allow anonymous to see raw posts
This commit is contained in:
commit
1ed56eba7a
@ -5,7 +5,7 @@ require_dependency 'distributed_memoizer'
|
||||
class PostsController < ApplicationController
|
||||
|
||||
# Need to be logged in for all actions here
|
||||
before_filter :ensure_logged_in, except: [:show, :replies, :by_number, :short_link, :reply_history, :revisions, :expand_embed]
|
||||
before_filter :ensure_logged_in, except: [:show, :replies, :by_number, :short_link, :reply_history, :revisions, :expand_embed, :markdown]
|
||||
|
||||
skip_before_filter :store_incoming_links, only: [:short_link]
|
||||
skip_before_filter :check_xhr, only: [:markdown,:short_link]
|
||||
|
Loading…
x
Reference in New Issue
Block a user