undefined method `view_paths'

NoMethodError (undefined method `view_paths' for #<Affiliate:
0x2542548>):

Hi guys, what would usually cause this error? :stuck_out_tongue:

Thanks!

figured it out. i had set a @layout variable that messed it up