Walter Davis wrote in post #1019090:
> On Aug 29, 2011, at 2:51 PM, Alexey Muranov wrote:
>
>> Thanks, but what about, say rendering xml with a template?
>
> Controller, in a respond_to block.
>

What if this is a big repeating block of code?

>> Or, a better question, is there an example of a method that should go
>> into ApplicationController and not into a specific controller or a
>> helper?
>
> Authentication?
>

I use SessionsController and SessionsHelper for this.

Is ApplicationController a good place for anything other than 
before_filter's?

Alexey.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to