Class LogiInsertsController
In: app/controllers/logi_inserts_controller.rb
Parent: ApplicationController

Methods

new  

Public Instance methods

REST-methods

[Source]

    # File app/controllers/logi_inserts_controller.rb, line 25
25:   def new
26:     @selected = params[:selected]
27:     @link_selected = params[:link_selected]
28:     if params[:insert_remark_id] and !params[:insert_remark_id].empty?
29:       @remark = Remark.find(params[:insert_remark_id])
30:       @annotation = Annotation.new(:message => @remark.message)
31:     else
32:       @perma_link = params[:perma_link]
33:       if @perma_link
34:         @check_link = Link.new_from_s(@perma_link.dup)
35:         @check_link.resolve
36:       end
37:     end
38: 
39:     @new_logi = Logi.new_with(:creator => current_user,
40:         :user_group => current_prefs.user_group)
41:     @new_logi_version = @new_logi.current_logi_version
42: 
43:     render :layout => 'blank'
44:   end

[Validate]