parent
9feb0d3869
commit
88e839b48d
@ -1,5 +1,5 @@
|
|||||||
class RepertoiresController < ApplicationController
|
class RepertoiresController < ApplicationController
|
||||||
def index
|
def index
|
||||||
render_ok(repertoires: Repertoire.cache_data)
|
render_ok(repertoires: Repertoire.select(:id, :name).order(:created_at).as_json)
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in new issue