parent
b5ffc58d10
commit
ddf0d622cd
@ -0,0 +1,5 @@
|
||||
class LicensesController < ApplicationController
|
||||
def index
|
||||
@licenses = License.search(params[:name]).without_content
|
||||
end
|
||||
end
|
@ -1,2 +1,3 @@
|
||||
class License < ApplicationRecord
|
||||
include Projectable
|
||||
end
|
||||
|
@ -0,0 +1 @@
|
||||
json.licenses @licenses, :id, :name
|
Loading…
Reference in new issue