# 플러그인이나 테마 컴포넌트 시스템을 통해 헬퍼의 함수를 수정할 수 있을까요?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964>\
**Category:** Development\
**Created:** [2월 7, 2020, 8:09오전 UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964 "2020-02-07T08:09:35Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [2월 8, 2020, 12:00오전 UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964/17 "2020-02-08T00:00:19Z")

</div>

로버트, 감사합니다!

근데 작동이 안 돼요 😭

제가 한 작업은 이렇습니다:

`rails g plugin CategoryAlternative`

그리고 이것을 넣었습니다:

 ![Screenshot 2020-02-07 at 23.40.35](https://global.discourse-cdn.com/meta/original/3X/8/4/84761453c7f8905bc3061279d337dbc12426a4c9.png)

만들어야 했던 `helpers` 폴더 안에요:

 ![Screenshot 2020-02-07 at 23.38.47](https://global.discourse-cdn.com/meta/original/3X/4/d/4de5cda719c37d1bc2257e37392bda4d7c24f247.png)

그 다음:

```plaintext
rm -rf tmp
rails s

```

AdminCP에는 표시되는데 실제 페이지에는 변경 사항이 반영되지 않아요 (비플러그인 버전의 파일을 정확히 같은 내용으로 수정하면 변경 사항이 표시되긴 해요)

 ![Screenshot 2020-02-08 at 00.09.07](https://global.discourse-cdn.com/meta/original/3X/7/5/75e5da6ab6ed2566e6c43ee4f283033b4c341cf4.png)

무엇을 놓친 건가요? 다른 설정이 필요한가요?

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964)._
