Sha256: 3e3321b546b3e7eedbdfaf14e71088bcfcf18f948e9d03635df0a1c98295e866

Contents?: true

Size: 325 Bytes

Versions: 13

Compression:

Stored size: 325 Bytes

Contents

module Ecm
  module Sliders
    class Routing
      def self.routes(router, options = {})
        options.reverse_merge!(
          { :slider_actions => [ :index ] }
        )

        router.resources :ecm_sliders_sliders, :only => options[:slider_actions], :controller => 'ecm/sliders/sliders'
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
ecm_sliders2-0.0.4 lib/ecm/sliders/routing.rb
ecm_sliders2-0.0.3 lib/ecm/sliders/routing.rb
ecm_sliders2-0.0.2 lib/ecm/sliders/routing.rb
ecm_sliders2-0.0.1 lib/ecm/sliders/routing.rb
ecm_sliders-1.0.4.pre lib/ecm/sliders/routing.rb
ecm_sliders-1.0.3.pre lib/ecm/sliders/routing.rb
ecm_sliders-1.0.2.pre lib/ecm/sliders/routing.rb
ecm_sliders-1.0.1.pre lib/ecm/sliders/routing.rb
ecm_sliders-1.0.0.pre lib/ecm/sliders/routing.rb
ecm_sliders-0.0.4.pre lib/ecm/sliders/routing.rb
ecm_sliders-0.0.3.pre lib/ecm/sliders/routing.rb
ecm_sliders-0.0.2.pre lib/ecm/sliders/routing.rb
ecm_sliders-0.0.1.pre lib/ecm/sliders/routing.rb