Hi guys,

I'm playing with IronRubyMvc, which is just great BTW, and I have two issues
I'm struggling with - filters and view helpers.

About filters, I understand that this is done with the filter method which
receives the method name and filter class. How can I use for example, the
built-in Authorize filter and give it its initial values (like allowed roles
or users)? because I need to pass on the name of the class and not an
instance, I couldn't figure out how to pass the values as well.

Regarding custom view helpers, is it possible to add those using rb files?
I've tried to add an rb file to the Helpers folder but it doesn't seem to be
read from anywhere (I had also added some syntax mistakes and never got an
exception about them).

Once again, the IronRubyMvc framework is awesome!

Thanks!
Shay.

----------------------------
Shay Friedman
http://www.IronShay.com <http://www.ironshay.com/>
Follow me: http://twitter.com/ironshay
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to