test/dispatch in plezi-0.12.20 vs test/dispatch in plezi-0.12.21
- old
+ new
@@ -19,9 +19,12 @@
{event: :failed, data: :forbidden}.to_json
end
def _hidden
{event: :failed, data: :forbidden}.to_json
end
+ def html
+ {event: 'html', data: 'only'}.to_json
+ end
def test data = {}
data[:data] ||= "test"
{event: 'alert', data: data[:data]}.to_json
end
def index event = nil
\ No newline at end of file