Module: Pulitzer::MainHelper

Defined in:
app/helpers/pulitzer/main_helper.rb

Instance Method Summary collapse

Instance Method Details

#pulitzer_authorized?Boolean

Will this clash with helper methods like devise, cancan?

Returns:

  • (Boolean)


4
5
6
# File 'app/helpers/pulitzer/main_helper.rb', line 4

def pulitzer_authorized?
  Pulitzer. || self.instance_eval(&Pulitzer.)
end