Class: HelloController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
lib/sportweb/application.rb

Overview

class HelloController < ActionController::Metal

include ActionController::Rendering

Instance Method Summary collapse

Instance Method Details

#worldObject



162
163
164
# File 'lib/sportweb/application.rb', line 162

def world
  render inline: 'Hello world!'
end