Skip to content

Commit 334e23d

Browse files
committed
fix controller tests
1 parent fe6c004 commit 334e23d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/controllers/community_custom_fields/custom_fields_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
# frozen_string_literal: true
2+
13
class CommunityCustomFields::CustomFieldsController < ::ApplicationController
4+
requires_plugin CommunityCustomFields::PLUGIN_NAME
5+
26
before_action :ensure_logged_in
37
before_action :ensure_admin
48

plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# name: community-custom-fields
44
# about: Adds custom fields for using Discourse as a support platform
5-
# url:
5+
# url: https://github.com/tryretool/community-custom-fields
66
# version: 0.1
77
# authors: Retool
88

0 commit comments

Comments
 (0)