```ruby
class CalendarController < ApplicationController
  layout "logged_in"
  def index
    @versions = Version.all
  end
end```

Change calendar to diplay current user's data only
user
```ruby
class CalendarController < ApplicationController
  layout "logged_in"
  def index
    @versions = Version.where(whodunnit: current_user)
  end
end```
assistant