Sha256: e90bf7f5700524da437df0710bbe1ab19311a8f23aabcc01155b037f86c76f1f

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 Bytes

Contents

module ActiveMetadata
  class StreamController < ApplicationController

    layout false

    def index
      @document = params[:model_name].to_class.find(params[:model_id])
      @stream = @document.stream_for params[:field_name]
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_metadata-0.7.0 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.9 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.7 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.6 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.5 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.4 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.3 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.2 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.1 app/controllers/active_metadata/stream_controller.rb
active_metadata-0.6.0 app/controllers/active_metadata/stream_controller.rb