Sha256: 2650431817ec4d176ae6d59fc31bbf56a695fa6af38b3fc8f34c02a91e88f39f

Contents?: true

Size: 291 Bytes

Versions: 8

Compression:

Stored size: 291 Bytes

Contents

module BlacklightUserGeneratedContent
  module RouteSets
    protected
    def catalog
      add_routes do |options|
        resources :catalog, :only => [:index, :show, :update] do
          resources :comments
          resource :tags
        end
      end

      super
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight_user_generated_content-0.0.8 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.7 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.6 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.5 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.4 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.3 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.2 lib/blacklight_user_generated_content/route_sets.rb
blacklight_user_generated_content-0.0.1 lib/blacklight_user_generated_content/route_sets.rb