call method dynamically on active record association

Hey all,

I have this in view:

      - if site_action_enabled?(:site_flag_enabled, Site)

And I have this in application controller:

  def site_action_enabled?(operation, resource)
    if resource.is_a?(Class) && resource == Site
      return operation
      return false

  helper_method :site_action_enabled?

It gives me error:

undefined method `call' for

If I use something like send:

      return operation

It does not call the site_flag_enabled instance method, which returns
true or false (site_flag_enabled is a field in database for sites
table of tinyint type)

thanks for response