Adding a custom route to Refinery

It's possible to add you own custom routes to refinery by prepending them to the Refinery engine.

To prepend a route add the following to config/routes.rb after the refinery engine has been mounted

mount Refinery::Core::Engine, :at => '/'

Refinery::Core::Engine.routes.prepend do
    post '/contact', :to => 'pages#show', :as => :contact, :path => "contact"
end