mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
WIP: first prototype of the JSON API.
* Tests not included, so I cannot prove that it works
This commit is contained in:
parent
83b10447f4
commit
27017a4823
6 changed files with 44 additions and 0 deletions
3
app/controllers/api/base_controller.rb
Normal file
3
app/controllers/api/base_controller.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
class Api::BaseController < ActionController::Base
|
||||
protect_from_forgery
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue