Began working on screenshot upload feature.
This commit is contained in:
parent
8bc497403d
commit
d701947c68
3 changed files with 74 additions and 2 deletions
|
|
@ -52,9 +52,12 @@ class PackagesController < ApplicationController
|
|||
end
|
||||
|
||||
def upload
|
||||
# TODO
|
||||
raise "name not given" unless params[:name]
|
||||
@package = Package.find_by(name: params[:name])
|
||||
end
|
||||
|
||||
def upload_by_name
|
||||
|
||||
def upload_image
|
||||
"uploaded"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue