additions for extra security and plugin integration, based on couch_i18n development
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
|
||||
private
|
||||
|
||||
def authorize_cmtool
|
||||
redirect_to new_user_session_path unless current_user.present?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user