Skip to content

Instantly share code, notes, and snippets.

View afcapel's full-sized avatar

Alberto Fernández-Capel afcapel

View GitHub Profile
# config/routes.rb
resources :documents do
scope module: 'documents' do
resources :versions do
post :restore, on: :member
end
resource :lock
end
end