Sha256: 36ac2b3e7398649600fe5b7e56e607d958d65366824404c96bdca88ef88b785c
Contents?: true
Size: 408 Bytes
Versions: 35
Compression:
Stored size: 408 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", :status => 550 end end rescue raise ActionController::RoutingError.new('Not Found') end end end
Version data entries
35 entries across 35 versions & 1 rubygems