post 'unshare', :on => :member
get 'choose', on: :collection
post 'remove_selected_files', on: :member
post 'unshare', :on => :member
get 'choose', on: :collection
post 'remove_selected_files', on: :member
# Send unroutable requests to an arbitrary controller
# (ends up at ApplicationController#render_not_found)
match '*a', to: 'links#render_not_found', via: [:get, :post]
# Send unroutable requests to an arbitrary controller
# (ends up at ApplicationController#render_not_found)
match '*a', to: 'links#render_not_found', via: [:get, :post]