Skip to content

Commit

Permalink
1.8 style hash for routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jipiboily committed Mar 18, 2012
1 parent 3336972 commit 56efd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
@@ -1,5 +1,5 @@
Refinery::Core::Engine.routes.append do
namespace :admin, :path => 'refinery' do
post "images/ajax_create", to: "images#ajax_create"
post "images/ajax_create", :to => "images#ajax_create"
end
end

0 comments on commit 56efd52

Please sign in to comment.