Class: TopicsController
- Inherits:
-
Object
- Object
- TopicsController
- Defined in:
- lib/dbc_today/controllers/topics_controller.rb
Instance Attribute Summary collapse
-
#view ⇒ Object
readonly
Returns the value of attribute view.
Instance Method Summary collapse
-
#initialize ⇒ TopicsController
constructor
A new instance of TopicsController.
- #show_topics(phase, week, day) ⇒ Object
Constructor Details
#initialize ⇒ TopicsController
Returns a new instance of TopicsController.
7 8 9 |
# File 'lib/dbc_today/controllers/topics_controller.rb', line 7 def initialize @view = TopicsView.new end |
Instance Attribute Details
#view ⇒ Object (readonly)
Returns the value of attribute view.
5 6 7 |
# File 'lib/dbc_today/controllers/topics_controller.rb', line 5 def view @view end |