Sha256: 17bb622899c2a6eb3ea0f4c07507d9daa9c805e8100d3404b7a1e512e2c5feb3

Contents?: true

Size: 231 Bytes

Versions: 77

Compression:

Stored size: 231 Bytes

Contents

module Pulitzer
  module MainHelper
    # Will this clash with helper methods like devise, cancan?
    def pulitzer_authorized?
      Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure)
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
pulitzer-0.15.31 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.30 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.29 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.28 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.27 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.26 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.25 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.24 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.23 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.22 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.21 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.20 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.19 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.18 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.17 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.16 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.15 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.14 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.13 app/helpers/pulitzer/main_helper.rb
pulitzer-0.15.12 app/helpers/pulitzer/main_helper.rb