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