Sha256: 7a02e28e65bca42999f5d76c662a329c4d091ec0743576db96fb5b8479cf66cb
Contents?: true
Size: 292 Bytes
Versions: 14
Compression:
Stored size: 292 Bytes
Contents
class ApplicationController < ActionController::Base def self.create_action(name) define_method(name) do send :without_record render action: name end define_method("#{name}_with_record".to_sym) do send :with_record render action: name end end end
Version data entries
14 entries across 14 versions & 1 rubygems