Skip to content

Commit

Permalink
[api] WIP: new route: GET /source/:project/_keyinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrolfe committed Jan 18, 2017
1 parent 0371cc3 commit c19c894
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/api/app/controllers/source/key_info_controller.rb
@@ -0,0 +1,10 @@
module Source
class KeyInfoController < ApplicationController
def show
project = Project.get_by_name(params[:project])

path = request.path_info
pass_to_backend(path)
end
end
end

0 comments on commit c19c894

Please sign in to comment.