Sha256: 898cce28cf65e2034f7fe77e7206e181db44f27ef4fc0c1fa15b70a20c18c85f

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

Ecm::Tags::Engine.routes.draw do
  localized do
    scope :ecm_tags_engine do
      resources :tag_searchs, only: [:new, :create] do
        get '/', on: :collection, to: "tag_searchs#create"
      end

      get '/:tag', to: "tag_searchs#create", as: 'tag'

      root to: 'tag_searchs#new'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 config/routes.rb
ecm_tags-2.2.0 config/routes.rb
ecm_tags-2.1.0 config/routes.rb
ecm_tags-2.0.2 config/routes.rb