add helper for personal_annotation partial form
This commit is contained in:
parent
b7119cdbd3
commit
8196517175
@ -1,2 +1,9 @@
|
|||||||
module Crawlers::TissCrawlerHelper
|
module Crawlers::TissCrawlerHelper
|
||||||
|
def render_personal_annotations(id, object)
|
||||||
|
render :partial => "crawlers/personal_annotations",
|
||||||
|
:locals => {
|
||||||
|
:cur_id => id,
|
||||||
|
:personal_annotation => (object['personal_annotation'] if object)
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user