RailsCasts Pro episodes are now free!

Learn more or hide this

Millie's Profile

GitHub User: millie

Site: http://www.cakestyle.com

Comments by Millie

Avatar

Is there a way to whitelist for any actions within a controller using this method?

In the method you suggested in part 1, we did this:

ruby
return true if controller == "pages"