My application_controller.rb has:
helper :all
my application_helper.rb has:
def authorized?
false
end
Now in my:
Admin::PostsController < ApplicationController
before_filter :authorized?
I get the error:
undefined method `authorized?'
This makes no sense to me, helper :all is set, and this controller inherits from the application_controller.
What am I missing?