First, you shouldn't be running it in test mode, which is only for
running the RSpec and Cucumber test suites. Second, that happens
because Radiant includes an extension that only loads in test mode and
includes the default route :controller/:action/:id.
Sean
James Britt wrote:
Maybe I did something subtle and screwy, but I noticed that if I am
running my Radiant site in test mode (./script/server -e test) and go
to the admin page, I can see the list of pages, but if I click any of
the links to edit a page, I get this:
Unknown action
No action responded to 5. Actions: add_chronicle_javascript, ...
(whole list of actions here)
This works in development and production:
http://jgbconf.org/admin/pages/5/edit
but this fails fails in test
http://jgbconf.org:3000/admin/pages/5/edit
However, *this* works for test mode (put record ID last):
http://jgbconf.org:3000/admin/pages/edit/5
Perhaps it's the combination of the various extensions I have (which
I'm looking into now) but I wondered if anyone else had seen this.
I don't think I ever tried going to the admin pages in test mode until
now, so I don't know if this a recent quirk in my site, or if it was
this way from the start.
Thanks,
James
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant