Sha256: 1236c4b8ee8f02a2d45f694c4f3f14907b738bf18a5ebe6b66605a1e360ec448
Contents?: true
Size: 413 Bytes
Versions: 6
Compression:
Stored size: 413 Bytes
Contents
class Iugu::AccountSettingsController < Iugu::SettingsController before_filter :block_removing private def block_removing begin if params[:account_id] if Account.find(params[:account_id]).destroying? render :file => "#{Rails.root}/public/422.html", :status => 550 end end rescue raise ActionController::RoutingError.new('Not Found') end end end
Version data entries
6 entries across 6 versions & 1 rubygems