mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-05-30 00:11:31 +00:00
Added initial API endpoint to fetch basic user and associated team information.
This commit is contained in:
parent
722f2d87d7
commit
5a9c393791
14 changed files with 180 additions and 3 deletions
7
spec/support/mixins/controllers.rb
Normal file
7
spec/support/mixins/controllers.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
module Controllers
|
||||
module JsonHelpers
|
||||
def json
|
||||
@json ||= JSON.parse(response.body)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue