before_action
This commit is contained in:
parent
7fd2294111
commit
da9c1db14f
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ class PostsController < ApplicationController
|
|||
|
||||
before_action :authenticate_user!, :except => [:show, :iframe, :oembed, :interactions]
|
||||
before_action :set_format_if_malformed_from_status_net, :only => :show
|
||||
before_action :find_post, :only => [:show, :interactions]
|
||||
|
||||
use_bootstrap_for :show
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue