On Tue, Sep 27, 2011 at 10:21 AM, Keith Raymond <lists@ruby-forum.com> wrote:
> Leonardo,
>
> That's exactly what it is. Thanks!
>
> I commented out the before_filter that handles devises authentication
> and the app was able to find the route as it should.
>
> I read this somewhere too, I believe with authlogic or maybe it was
> devise. Any ideas on a work around? I'm concerned about allowing this
> action go without user authentication for security reasons...
Hey, sorry for the late on this.
You should use a skip_before_filter, :only => :upload in your controller.
Check guides.rubyonrails.com, if you're in doubt with the syntax.
Hope it helps.
Cheers.
>
> Thanks again
>
> --
> 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
Leonardo Mateo.
There's no place like ~
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment