Sha256: 1eee1ad4fdb24061dd286d270d0761761b9779a654502c43d70cb9bf450afdd7

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

module FormtasticBootstrap
  module Helpers
    module ActionHelper

      # :as => :button # => FormtasticBootstrap::Actions::ButtonAction
      def standard_action_class_name(as)
        "FormtasticBootstrap::Actions::#{as.to_s.camelize}Action"
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
formtastic-bootstrap-3.0.0 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-3.0.0.rc.2 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-3.0.0.rc.1 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-2.1.3 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-2.1.2 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-2.1.1 lib/formtastic-bootstrap/helpers/action_helper.rb
formtastic-bootstrap-2.0.0 lib/formtastic-bootstrap/helpers/action_helper.rb