mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-07 21:51:42 +08:00
init project
This commit is contained in:
5
app/controllers/repertoires_controller.rb
Normal file
5
app/controllers/repertoires_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class RepertoiresController < ApplicationController
|
||||
def index
|
||||
render_ok(repertoires: Repertoire.select(:id, :name).order(:created_at).as_json)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user