Sha256: 77b0ee4272fe9115573934639e31ef27e9758041f722101186137842388e88a2
Contents?: true
Size: 453 Bytes
Versions: 2
Compression:
Stored size: 453 Bytes
Contents
module Para module Ext module SimpleFormExtension module SelectizeInput extend ActiveSupport::Concern included do alias_method_chain :name_for, :admin_name end def name_for_with_admin_name(option) Para.config.resource_name_methods.each do |method| if (name = option.try(method)) return name end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
para-0.5.4 | lib/para/ext/simple_form_extension.rb |
para-0.5.3 | lib/para/ext/simple_form_extension.rb |