Sha256: 99ef58ef777bf1106bf1e50fd6798101107ff57c599c3ce07f71067d47cac765

Contents?: true

Size: 710 Bytes

Versions: 35

Compression:

Stored size: 710 Bytes

Contents

module Auth::Shopping::Places::PlacesHelper

	## get /new
	def new_place_path
      main_app.send(Auth::OmniAuth::Path.new_path(Auth.configuration.place_class))
    end

    ## (PUT/PATCH/GET) - individual place
    def place_path(place)
    	
    	main_app.send(Auth::OmniAuth::Path.show_or_update_or_delete_path(Auth.configuration.place_class),place)
    end

	
	##/places (GET - all places /CREATE - individual place) 
	def places_path
    	main_app.send(Auth::OmniAuth::Path.create_or_index_path(Auth.configuration.place_class))
    end

    ##/shopping/places/:id/edit
    def edit_place_path(place)
    	main_app.send(Auth::OmniAuth::Path.edit_path(Auth.configuration.place_class),place)
    end

   
end

Version data entries

35 entries across 35 versions & 1 rubygems

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