On Jan 4, 1:16 pm, Xornor <[email protected]> wrote:
> class ApplicationController < ActionController::Base
>    after_filter :customheaders
>
> private
>
>    def customheaders
>       response.headers["Test header title"]="Test header value"
>    end
> end

That looks like it should work (I don't think that an after filter is
'too late' to set headers). How are you testing that the headers
aren't there?

Fred

-- 
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