0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-20 08:21:04 +00:00
ensl.org/spec/support/mixins/controllers.rb

8 lines
113 B
Ruby
Raw Normal View History

module Controllers
module JsonHelpers
def json
@json ||= JSON.parse(response.body)
end
end
end