added answer for index
This commit is contained in:
parent
5d7505fe21
commit
96955d968e
|
@ -11,6 +11,7 @@ class FaqsController < ApplicationController
|
||||||
{
|
{
|
||||||
"link_to_show" => OrbitHelper.url_to_show(qa.to_param),
|
"link_to_show" => OrbitHelper.url_to_show(qa.to_param),
|
||||||
"question" => qa.title,
|
"question" => qa.title,
|
||||||
|
"answer" => qa.answer,
|
||||||
"statuses" => statuses
|
"statuses" => statuses
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue