require 'guides_front_end'

Guides::Application.routes.draw do
  match '/preview/:edition_id' => GuidesFrontEnd, :anchor => false

  namespace :admin do
    resources :guides do
      resources :editions
    end
    
    
    root :to => 'guides#index'
  end
end

require 'guides_front_end'

Guides::Application.routes.draw do
  match '/preview/:edition_id' => GuidesFrontEnd, :anchor => false

  namespace :admin do
    resources :guides do
      member do
        post :progress
      end
      resources :editions
    end
    
    
    root :to => 'guides#index'
  end
end

Add an action for progressing guides
Add an action for progressing guides
