Sha256: afdbc87aa21fa715a9a3720e56403425b8ab0b1e291252e297642450c0fa2934
Contents?: true
Size: 306 Bytes
Versions: 9
Compression:
Stored size: 306 Bytes
Contents
module Api class DummyController < ApplicationController class << self; attr_accessor :last_action, :last_params end def dummy(action_name = :dummy) self.class.last_action = action_name self.class.last_params = params render :json => { :head => :no_content } end end end
Version data entries
9 entries across 9 versions & 3 rubygems