Class: Iron::ReferencesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/iron/references_controller.rb

Instance Method Summary collapse

Instance Method Details

#newObject



3
4
5
6
7
8
9
# File 'app/controllers/iron/references_controller.rb', line 3

def new
  @form_field_name = params[:form_field_name]
  @reference_list_dom_id = params[:reference_list_dom_id]

  @entry = Entry.find(params[:entry_id])
  @reference = Reference.build(entry: @entry)
end