Displaying 1 result from an estimated 1 matches for "search_author".
2008 Dec 05
3
2 forms in one page,how to arrange the code and do it restful?
...o not like them all! I think maybe i have
some misunderstanding of restful!
Solution1:
let the document handles them all, put the current page under folder
"views/documents", make the author search form a partial template and
locate it under folder "views/documents" too, put the search_author
method in DocumentsController.this really works,but it break the REST
rules, how could i write the url for search_author method?
I think the search_author method should be write in
AuthorsController.If I do this, i can not get the search result
@authors from AuthorsController.
Solution2:
It seem t...