24cb5da194
* Make Fizzy Ask invisible but usable by staff * Remove unused span * Prevent non-staff users from creating or browsing messages * Extract staff-only into a mixin * Keep existing markup, use the utility class we already have --------- Co-authored-by: Jason Zimdars <jz@37signals.com>
12 lines
210 B
Ruby
12 lines
210 B
Ruby
class ConversationsController < ApplicationController
|
|
include StaffOnly
|
|
|
|
def create
|
|
Current.user.start_or_continue_conversation
|
|
end
|
|
|
|
def show
|
|
@conversation = Current.user.conversation
|
|
end
|
|
end
|