>> Colin
>
> Thanks colin,
>
> I moved the method up in controller but now it gives me the error:
>
> NoMethodError in Employee#add_rosterduty
>
> Showing app/views/employee/add_rosterduty.html.erb where line #14
> raised:
>
> undefined method `roster_duties_path' for #
> Extracted source (around l
> Finally, your controller is much too large and complex. I am not
> going to wade through it trying to refactor it for you, but it is not
> suitable for purpose as it is. Likely large amounts of the code can
> be delegated to models, for example.
>
> Colin
Thanks colin,
I moved the method up i
2 matches
Mail list logo