Class: Documentation::FormsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/satis/documentation/forms_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
# File 'app/controllers/satis/documentation/forms_controller.rb', line 3

def index
  @user = User.new
end

#selectObject



7
8
9
10
11
12
# File 'app/controllers/satis/documentation/forms_controller.rb', line 7

def select
  @users = (1..1000).map do |i|
    [Faker::Name.first_name, Faker::Name.first_name].join(" ")
  end
  render layout: false
end