Sha256: 072819790c7cf3ef61fac8fbe23b97c3c653094d44028b732bc57a250c9c841e
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
module Dune::Balanced class NotificationsController < ApplicationController def create event = Event.new(params) event.save status = event.valid? ? :ok : :bad_request render nothing: true, status: status end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dune-balanced-1.0.0 | app/controllers/dune/balanced/notifications_controller.rb |