Sha256: 751ba248b70c01aeda652efd344dee174eea4f5d61c7fdc7531f43ec6f31a2e7

Contents?: true

Size: 420 Bytes

Versions: 47

Compression:

Stored size: 420 Bytes

Contents

module ActiveMetadata
  class HistoriesController < ApplicationController

     unloadable

      def index
         @document = eval(params[:model_name]).find params[:model_id] 
         @histories = @document.history_for params[:field_name]      
         respond_to do |format|
           format.html { render :layout => false}
           format.xml  { render :xml => @histories }
         end
      end  

  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
active_metadata-0.8.9 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.8 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.7.1 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.7 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.6 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.5.2 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.5.1 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.5 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.4 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.3.1 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.3 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.2 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.1 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.8.0 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.9 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.8 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.7 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.6 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.5 app/controllers/active_metadata/histories_controller.rb
active_metadata-0.7.4 app/controllers/active_metadata/histories_controller.rb