Named routes don't load in plugin

Hi all,

I have one plugin for a datagrid.
This plugin have one module wich use json with ajax.

The poblem: When i call the method by ajax and generate data to compose
datagrid i tried use my named route post_url, but it’s not being loaded
on
routes.rb (this behaviour exist only here)

How can i load these helpers (edit_post, new_post…) inside my plugin

Thanks


Rodrigo Mendonça
(62) 8567-3142