Sha256: c7c2e1c7c45b91f623c091f93b8aabf6fc145686063a59aaae0b96f2d1db7e59

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

module Binda
  module ComponentsHelper

  	def get_form_component_url
  		return structure_components_path if action_name == 'new'
  		return structure_component_path  if action_name == 'edit'
  	end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
binda-0.0.6 app/helpers/binda/components_helper.rb
binda-0.0.5 app/helpers/binda/components_helper.rb
binda-0.0.3 app/helpers/binda/components_helper.rb
binda-0.0.2 app/helpers/binda/components_helper.rb