10 lines
186 B
Ruby
10 lines
186 B
Ruby
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
private
|
|
|
|
def authorize_cmtool
|
|
redirect_to new_user_session_path unless current_user.present?
|
|
end
|
|
end
|