Class: InfoController

Inherits:
ApplicationController show all
Defined in:
lib/teststuff/app/controllers/info_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



7
8
9
# File 'lib/teststuff/app/controllers/info_controller.rb', line 7

def create
  @info = Info.new(params[:info])
end

#newObject



3
4
5
# File 'lib/teststuff/app/controllers/info_controller.rb', line 3

def new
  @info = Info.new
end