Sha256: bd441de83345ea3f4e5f61200a474df766fe74a07f5bea4dda2b0ee99ae7a004

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 Bytes

Contents

Refinery::Application.routes.draw do
  resources :news, :as => :news_items, :controller => :news_items, :only => [:show, :index]

  scope(:path => 'refinery', :as => 'admin', :module => 'admin') do
    resources :news, :except => :show, :as => :news_items, :controller => :news_items
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-news-1.2.0 config/routes.rb
refinerycms-news-1.1.0 config/routes.rb
refinerycms-news-1.0.1 config/routes.rb
refinerycms-news-1.0 config/routes.rb
refinerycms-news-0.9.9.6 config/routes.rb