mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TopicTimerSerializer < ApplicationSerializer
|
||||
attributes :id,
|
||||
:execute_at,
|
||||
:duration_minutes,
|
||||
:based_on_last_post,
|
||||
:status_type,
|
||||
:category_id
|
||||
attributes :id, :execute_at, :duration_minutes, :based_on_last_post, :status_type, :category_id
|
||||
|
||||
def status_type
|
||||
TopicTimer.types[object.status_type]
|
||||
|
||||
Reference in New Issue
Block a user