Added EmptyController in ruby
• Added: - EmptyController in ruby
This commit is contained in:
parent
fb70bfe739
commit
7027cd0bf4
|
@ -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
|
Loading…
Reference in New Issue