Sha256: f9196a338e5f1389c3bddcf0d6e0916fe8158f6ade20a905c3e5a94fd8c4c8df

Contents?: true

Size: 217 Bytes

Versions: 17

Compression:

Stored size: 217 Bytes

Contents

class BotController < Stealth::Controller

  helper :all

  def route
    if current_session.present?
      step_to session: current_session
    else
      step_to flow: 'hello', state: 'say_hello'
    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stealth-1.1.6 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.5 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.4 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.3 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.2 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.1 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.0 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.0.rc3 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.0.rc2 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.1.0.rc1 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.4 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.3 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.2 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.1 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.0 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.0.rc1 lib/stealth/generators/builder/bot/controllers/bot_controller.rb
stealth-1.0.0.pre2 lib/stealth/generators/builder/bot/controllers/bot_controller.rb