I'm getting more bizzaro behavior with my extension now relating to
loading.
In this case, a routing declaration is working the first time, and then
failing on the second try.
My partial calls:
url_for(:controller => 'page_attributes', :action => :add)
the first time it loads, and things look ok. (after a fresh server
restart)
But then when I go to another page and come back I get a:
No route matches {:controller=>"admin/page_attributes", :action=>"add"}
I'm defining my route by doing:
define_routes do |map|
map.connect 'admin/page_attributes/:action', :controller =>
'admin/page_attributes'
end
at the top of my extension (like the other ones do)
Can somebody please explain something about the magic that loads
extensions.
Apparently something is working when the extension is first loaded and
then fails when it is re-accessed.
thanks,
Jacob
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant