lib/stealth/generators/builder/bot/controllers/bot_controller.rb in stealth-1.0.0.pre1 vs lib/stealth/generators/builder/bot/controllers/bot_controller.rb in stealth-1.0.0.pre2
- old
+ new
@@ -1,11 +1,13 @@
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'
+ step_to flow: 'hello', state: 'say_hello'
end
end
end