Sha256: 5114befe370e8b210148213063fe52993d4bf524ed3e7108030cbaaeb323da4f

Contents?: true

Size: 964 Bytes

Versions: 59

Compression:

Stored size: 964 Bytes

Contents

module Auth::Shopping::Discounts::DiscountsHelper

	###################################################
    ##
    ##
    ## PATH HELPERS.
    ##
    ##
    ###################################################

	## get /new
	def new_discount_path(options={})
      main_app.send(Auth::OmniAuth::Path.new_path(Auth.configuration.discount_class),options)
    end



    ## (PUT/PATCH/GET) - individual discount
    def discount_path(discount)
    	
    	main_app.send(Auth::OmniAuth::Path.show_or_update_or_delete_path(Auth.configuration.discount_class),discount)
    end

	
	##/discounts (GET - all discounts /CREATE - individual discount) 
	def discounts_path
    	main_app.send(Auth::OmniAuth::Path.create_or_index_path(Auth.configuration.discount_class))
    end

    ##/shopping/discounts/:id/edit
    def edit_discount_path(options = {})
        

    	main_app.send(Auth::OmniAuth::Path.edit_path(Auth.configuration.discount_class),options)
    end

    

end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.9 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.8 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.7 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.6 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.5 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.4 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.3 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.2 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.1 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.5.0 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.9 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.8 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.7 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.6 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.5 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.4 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.3 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.2 app/helpers/auth/shopping/discounts/discounts_helper.rb
wordjelly-auth-1.4.0 app/helpers/auth/shopping/discounts/discounts_helper.rb