Permalink
Browse files

1.8 style hash for routes

  • Loading branch information...
1 parent 3336972 commit 56efd5243bf04594142c5ceee9c5508c06273dbb jipiboily committed Mar 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/routes.rb
View
@@ -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.