Sha256: 4cdcb277167bf7bce19d83bd30aef043d9614bd2a0fae80808fecb33dbfe53ed

Contents?: true

Size: 500 Bytes

Versions: 6

Compression:

Stored size: 500 Bytes

Contents

# encoding: utf-8

module InvoiceBar
  class CurrenciesController < InvoiceBar::ApplicationController
    inherit_resources
    respond_to :html, :json
    
    before_filter :require_admin_rights
    
    def create
      create! {}
    end
    
    def update
      update! {}
    end
    
    def destroy
      destroy! {}
    end
  
    protected
    
      def begin_of_association_chain
        # For InheritedResources
        # Currencies are general and not user specific
      end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 app/controllers/invoice_bar/currencies_controller.rb
invoice_bar-0.0.5 app/controllers/invoice_bar/currencies_controller.rb
invoice_bar-0.0.4 app/controllers/invoice_bar/currencies_controller.rb
invoice_bar-0.0.3 app/controllers/invoice_bar/currencies_controller.rb
invoice_bar-0.0.2 app/controllers/invoice_bar/currencies_controller.rb
invoice_bar-0.0.1 app/controllers/invoice_bar/currencies_controller.rb