mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
Implement invitation codes
This commit is contained in:
@@ -37,4 +37,9 @@ class ApplicationController < ActionController::Base
|
||||
Current.user = nil
|
||||
reset_session
|
||||
end
|
||||
|
||||
def hosted_app?
|
||||
ENV["HOSTED"] == "true"
|
||||
end
|
||||
helper_method :hosted_app?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user