Skip to content

Instantly share code, notes, and snippets.

@pupca
Created February 4, 2011 13:11
Show Gist options
  • Save pupca/811086 to your computer and use it in GitHub Desktop.
Save pupca/811086 to your computer and use it in GitHub Desktop.
<%= link_to("show", admin_sale_path(@sale), :class => "with-tip", :title => "show") %>
No route matches {:action=>"show", :controller=>"admin/sales"}
namespace :admin do
root :to => "dashboards#index"
resources :sales do
collection do
get :future
get :past
end
member do
get :list
end
resources :orders do
collection do
get :not_paid
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment