Added EmptyController in ruby

• Added:
- EmptyController in ruby
This commit is contained in:
mgabdev 2020-11-09 12:05:35 -06:00
parent fb70bfe739
commit 7027cd0bf4
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# frozen_string_literal: true
class EmptyController < ActionController::Base
protected
def current_user
nil
end
def current_account
nil
end
def current_session
nil
end
end