Class: Quilt::UiController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Quilt::UiController
- Includes:
- ReactRenderable
- Defined in:
- app/controllers/quilt/ui_controller.rb
Instance Method Summary collapse
Methods included from ReactRenderable
Instance Method Details
#execution_count ⇒ Object
16 17 18 19 |
# File 'app/controllers/quilt/ui_controller.rb', line 16 def execution_count @times ||= 0 @times = @times.next end |
#index ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/quilt/ui_controller.rb', line 8 def index render_react rescue Quilt::ReactRenderable::ReactServerNoResponseError sleep(1) retry if execution_count < 10 raise end |