Sha256: dc2be89b18fcb41d8f8cb40ead7be99333db40b96663c1207f9dffcf0ad18083

Contents?: true

Size: 221 Bytes

Versions: 15

Compression:

Stored size: 221 Bytes

Contents

module Wobauth
  module AuthoritiesHelper
    def authorized_for_link(authorized_for)
      unless authorized_for.nil?
        link_to authorized_for, main_app.polymorphic_path(authorized_for)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wobauth-6.0.1 app/helpers/wobauth/authorities_helper.rb
wobauth-6.0.0 app/helpers/wobauth/authorities_helper.rb
wobauth-5.1.3 app/helpers/wobauth/authorities_helper.rb
wobauth-5.1.2 app/helpers/wobauth/authorities_helper.rb
wobauth-5.1.1 app/helpers/wobauth/authorities_helper.rb
wobauth-5.1.0 app/helpers/wobauth/authorities_helper.rb
wobauth-5.0.2 app/helpers/wobauth/authorities_helper.rb
wobauth-5.0.1 app/helpers/wobauth/authorities_helper.rb
wobauth-5.0.0 app/helpers/wobauth/authorities_helper.rb
wobauth-4.0.0 app/helpers/wobauth/authorities_helper.rb
wobauth-3.4.8 app/helpers/wobauth/authorities_helper.rb
wobauth-3.4.7 app/helpers/wobauth/authorities_helper.rb
wobauth-3.4.6 app/helpers/wobauth/authorities_helper.rb
wobauth-3.4.5 app/helpers/wobauth/authorities_helper.rb
wobauth-3.4.4 app/helpers/wobauth/authorities_helper.rb