class BotController

Public Instance Methods

route() click to toggle source
# File lib/stealth/generators/builder/bot/controllers/bot_controller.rb, line 5
def route
  if current_session.present?
    step_to session: current_session
  else
    step_to flow: 'hello', state: 'say_hello'
  end
end