Before_action except: action still being called on action in except list

i have before_action :get_conversation, except: [:index, :empty_trash]
in my controller but get_conversation is being called on empty_trash

On Fri, Jan 15, 2016 at 6:12 PM, fugee ohu [email protected] wrote:

i have before_action :get_conversation, except: [:index, :empty_trash]
in my controller but get_conversation is being called on empty_trash

We feel your pain.

However, code and a failing test would be way relevant :slight_smile:


Hassan S. ------------------------ [email protected]

twitter: @hassan
Consulting Availability : Silicon Valley or remote

On Friday, January 15, 2016 at 11:12:28 PM UTC-5, Hassan S.
wrote:


Hassan S. ------------------------ [email protected]
<javascript:>
Hassan Schroeder | about.me
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Thanks, I got it fixed There was a ‘method: :delete’ in the form_tag
that
didn’t belong there After I removed it, the form defaulted to the post
method and the routes worked fine ~ thanks again, fugee