mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Bring spree/api/taxons_controller_spec from spree_api, adapt it, transpec it and fix rubocop issues
This commit is contained in:
@@ -21,10 +21,6 @@ module Spree
|
||||
respond_with(@taxon)
|
||||
end
|
||||
|
||||
def jstree
|
||||
show
|
||||
end
|
||||
|
||||
def create
|
||||
authorize! :create, Taxon
|
||||
@taxon = Taxon.new(params[:taxon])
|
||||
|
||||
Reference in New Issue
Block a user