Revision 1014:e3f78fa30a36 app/controllers
| app/controllers/activities_controller.rb | ||
|---|---|---|
| 44 | 44 |
if !@institution_name.blank? |
| 45 | 45 |
events = events.select do |e| |
| 46 | 46 |
e.respond_to?(:event_author) and e.event_author and |
| 47 |
e.event_author.respond_to?(:ssamr_user_detail) and |
|
| 48 |
!e.event_author.ssamr_user_detail.nil? and |
|
| 47 | 49 |
e.event_author.ssamr_user_detail.institution_name == @institution_name |
| 48 | 50 |
end |
| 49 | 51 |
if events.empty? |
Also available in: Unified diff