index period fixed
This commit is contained in:
parent
cd20c50152
commit
3f535c9616
|
@ -24,6 +24,8 @@ class PersonalProjectsController < ApplicationController
|
||||||
t << {"value" => (project.send(fs).title rescue "")}
|
t << {"value" => (project.send(fs).title rescue "")}
|
||||||
when "project_title"
|
when "project_title"
|
||||||
t << {"value" => "<a href='#{OrbitHelper.url_to_show(project.to_param)}'>" + (project.send(fs) rescue "") + "</a>"}
|
t << {"value" => "<a href='#{OrbitHelper.url_to_show(project.to_param)}'>" + (project.send(fs) rescue "") + "</a>"}
|
||||||
|
when "period"
|
||||||
|
t << {"value" => (project.send("duration") rescue "")}
|
||||||
else
|
else
|
||||||
t << {"value" => (project.send(fs) rescue "")}
|
t << {"value" => (project.send(fs) rescue "")}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue