Hey Guys i’m New to Rails (3 weeks now) and i’m Trying to render a Partial from my app/views/pins to my layouts/_header (My Menu) in a Modal. Im Using Bootstrap.
So i render it with
%> but i get an ``undefined method model_name’ for NilClass:Class.]`
My Modal Looks Like This :
I searched 2 days now for a possible solution but found nothing :(
Can anybody help me ?