parent
b556ad5211
commit
e36b59309f
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class PostsController < ApplicationController
|
||||||
before_action :authenticate_user!, only: %i(destroy mentionable)
|
before_action :authenticate_user!, only: %i(destroy mentionable)
|
||||||
before_action :set_format_if_malformed_from_status_net, only: :show
|
before_action :set_format_if_malformed_from_status_net, only: :show
|
||||||
|
|
||||||
respond_to :html, :mobile, :json, :xml
|
respond_to :html, :mobile, :json
|
||||||
|
|
||||||
rescue_from Diaspora::NonPublic do
|
rescue_from Diaspora::NonPublic do
|
||||||
authenticate_user!
|
authenticate_user!
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue