开发者

Changes I make to my extension controllers do not apply in the application. What's that about?

I'm using the common radiant extension, Mailer, and no changes whatsoever I make to the controller effect the application. I can in fact delete the entire controller, and it will still run flawlessly. I wish all my applications worked like that!

What am I开发者_高级运维 missing to be able to alter the way this application works?

I do not have a duplicate of this running as a gem in my environment file.


Kind of "late to the party", but:

The mailer extension has a config setting Radiant::Config['mailer.post_to_page?']

Depending on that, the mailer form will post to the page itself, or to the MailController. When posting to the page, the controller will indeed not be used. Instead, page.process_with_mailer will be called. See lib/mailer_process.rb

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜