Class: Bp3::Hello::Engine::HelloController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/bp3/hello/engine/hello_controller.rb

Instance Method Summary collapse

Instance Method Details

#engineObject



17
18
19
20
# File 'app/controllers/bp3/hello/engine/hello_controller.rb', line 17

def engine
  @title = I18n.t('hello.engine')
  @message = 'Success!'
end

#worldObject



12
13
14
15
# File 'app/controllers/bp3/hello/engine/hello_controller.rb', line 12

def world
  @title = Bp3::Hello::World::Context.say_it!
  @message = 'Success!'
end