Hey John, Haven't you defined it as a POST in this line?
post :preview
On Friday, August 17, 2012 6:38:38 PM UTC+3, John Merlino wrote:
>
> actually, let me rephrase this. That route points to the preview
> action of a reports controller, but why is it a POST for a new
> resource?
>
> On Aug
actually, let me rephrase this. That route points to the preview
action of a reports controller, but why is it a POST for a new
resource?
On Aug 17, 11:32 am, John Merlino wrote:
> Does anyone know what the controller code would look like for a route
> like this:
>
> resources :reports do
> new
2 matches
Mail list logo