Class: Turbo::Native::NavigationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/turbo/native/navigation_controller.rb

Instance Method Summary collapse

Instance Method Details

#recedeObject



2
3
4
# File 'app/controllers/turbo/native/navigation_controller.rb', line 2

def recede
  render html: "Going back…"
end

#refreshObject



6
7
8
# File 'app/controllers/turbo/native/navigation_controller.rb', line 6

def refresh
  render html: "Refreshing…"
end

#resumeObject



10
11
12
# File 'app/controllers/turbo/native/navigation_controller.rb', line 10

def resume
  render html: "Staying put…"
end