mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 12:10:34 +09:00
10 lines
176 B
Ruby
10 lines
176 B
Ruby
class WelcomeController < ApplicationController
|
|
def show
|
|
if Current.user.rooms.any?
|
|
redirect_to room_url(last_room_visited)
|
|
else
|
|
render
|
|
end
|
|
end
|
|
end
|