I’m missing something obvious about extensions and authentication
I setup an extension hoping to be able to process forms from the
of the site.
using Mental Branch
run ruby script\generate extension mailertest
define_routes do |map|
map.connect ‘mailertest/:action’, :controller => ‘mailertest’
in mailertest controller add method to make sure the new controller is
logger.info(“if I’m not back in 5 minutes, wait longer”)
where I’m promptly redirected to the /admin/ login screen.
Redirected to http://localhost:3000/admin/login
Filter chain halted as
@filter=:authenticate>] returned false.
Filter chain halted as [:authenticate] did not yield.
I’m missing something obvious aren’t I? Is there a way to specify that
extension shouldn’t require authentication?
Actually, maybe I’m on the wrong track all together - I want to be able
process forms submitted from the public side of the site. I don’t need
tags that will create the forms and inputs. Perhaps, easier if I add a
in routes.rb to /mailertest and put the controller alongside Radiant
Any insight appreciated!