forked from bofh/fetsite
lva nlink fix
This commit is contained in:
@@ -205,6 +205,9 @@ class Lva < ActiveRecord::Base
|
|||||||
text :lernaufwand
|
text :lernaufwand
|
||||||
text :typ
|
text :typ
|
||||||
text :name, :boost=>3.0
|
text :name, :boost=>3.0
|
||||||
|
text :lecturer_names do
|
||||||
|
lecturers.map { |l| l.name }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.update_multiple_with_modul(hash,modul)
|
def self.update_multiple_with_modul(hash,modul)
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
<h2><%= nlink.title unless nlink.nil? %></h2>
|
<h2><%= nlink.typ_n.to_s + ' ' + nlink.title unless nlink.nil? %></h2>
|
||||||
<%= render :partial=> "lvas/lva", :object=>nlink unless nlink.nil? %>
|
<% render :partial=> "lvas/lva", :object=>nlink unless nlink.nil? %>
|
||||||
|
|||||||
Reference in New Issue
Block a user