Closed Jamevidi closed 7 years ago
Is it possible to reach params inside a visible block?
I tried this but it doesnt work.
visible do bindings[:controller].params[:modal] == "true" end
bindings[:view].params is not working either. I tried with newer and older versions of Rails Admin.
Thanks! :)
Oh, I take it back. It works great in Rails Admin 1.1 :)
Is it possible to reach params inside a visible block?
I tried this but it doesnt work.
bindings[:view].params is not working either. I tried with newer and older versions of Rails Admin.
Thanks! :)