downloads endpoint route fix
This commit is contained in:
+1
-3
@@ -1,6 +1,4 @@
|
||||
class DownloadsController < ApplicationController
|
||||
skip_forgery_protection
|
||||
|
||||
class Api::DownloadsController < ApiController
|
||||
def show
|
||||
path = params[:path]
|
||||
return head :bad_request if path.blank?
|
||||
Reference in New Issue
Block a user