Sha256: ce12d5dd9b4c1d7bf147950c4d3abb666ffc9cd7d46ba8762d9c8f2729ddbe24

Contents?: true

Size: 413 Bytes

Versions: 7

Compression:

Stored size: 413 Bytes

Contents

module Seymour
  # This controller is not mapped to a route, as that would be a security issue
  # It's used internally by Activity#html, etc. --BH
  class RenderController < ActionController::Base
    include ActionController::Rendering
    helper :all

    def activity
      render :partial => "activities/activity", :locals => {
        :activity => request.env["seymour.activity"]
      }
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
seymour-0.0.9 lib/seymour/render_controller.rb
seymour-0.0.8 lib/seymour/render_controller.rb
seymour-0.0.7 lib/seymour/render_controller.rb
seymour-0.0.6 lib/seymour/render_controller.rb
seymour-0.0.5 lib/seymour/render_controller.rb
seymour-0.0.4 app/controllers/seymour/render_controller.rb
seymour-0.0.3 lib/seymour/render_controller.rb