Class: ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ApplicationController
show all
- Defined in:
- app/controllers/application_controller.rb
Overview
This class is Application Controller and his methods is available for all controllers
Instance Method Summary
collapse
Instance Method Details
#home ⇒ Object
11
12
13
|
# File 'app/controllers/application_controller.rb', line 11
def home
@contracts = contracts
end
|
#mining_profile ⇒ Object
15
16
17
18
19
20
|
# File 'app/controllers/application_controller.rb', line 15
def mining_profile
@words = current_user.acceptable_words
@numbers = current_user.acceptable_number_sequences
@symbols = current_user.acceptable_symbol_sequences
@ticket = current_user.tickets.where(status: :active).last
end
|
#privacy_policy ⇒ Object
25
|
# File 'app/controllers/application_controller.rb', line 25
def privacy_policy; end
|
#terms ⇒ Object
22
|
# File 'app/controllers/application_controller.rb', line 22
def terms; end
|