Sha256: 156dd7cc13a3ac4e918cb0872c2ab13254ef4594910ff6bb49962804be20908f

Contents?: true

Size: 181 Bytes

Versions: 5

Compression:

Stored size: 181 Bytes

Contents

module Administrate
  module ApplicationHelper
    def render_field(field, locals = {})
      render locals: locals, object: field, partial: field.to_partial_path
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
administrate-0.0.7 app/helpers/administrate/application_helper.rb
administrate-0.0.6 app/helpers/administrate/application_helper.rb
administrate-0.0.4 app/helpers/administrate/application_helper.rb
administrate-0.0.3 app/helpers/administrate/application_helper.rb
administrate-0.0.2 app/helpers/administrate/application_helper.rb