Merge branch 'master' into gitlab-flavored-markdown
This commit is contained in:
commit
8e6a7a172e
57 changed files with 331 additions and 1042 deletions
|
@ -4,6 +4,7 @@ class ApplicationController < ActionController::Base
|
|||
before_filter :set_current_user_for_mailer
|
||||
before_filter :check_token_auth
|
||||
before_filter :set_current_user_for_observers
|
||||
before_filter :dev_tools if Rails.env == 'development'
|
||||
|
||||
protect_from_forgery
|
||||
|
||||
|
@ -142,4 +143,8 @@ class ApplicationController < ActionController::Base
|
|||
def render_full_content
|
||||
@full_content = true
|
||||
end
|
||||
|
||||
def dev_tools
|
||||
Rack::MiniProfiler.authorize_request
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue