Class: Seymour::RenderController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ActionController::Rendering
Defined in:
lib/seymour/render_controller.rb

Overview

This controller is not mapped to a route, as that would be a security issue It’s used internally by Activity#html, etc. –BH

Instance Method Summary collapse

Instance Method Details

#activityObject



8
9
10
11
12
# File 'lib/seymour/render_controller.rb', line 8

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