我需要一些幫助來自定義視圖幫助程序。 我的文件夾結構是這樣的: application
- modules
- - smjestaj
- views
- - helpers
- - - LoadSkin.php
如果我去localhost/smjestaj我得到這個錯誤: Message: Plugin by name 'LoadSkin' was not found in the
我正在寫一個插件,它向控制器添加一個方法並將其聲明爲輔助方法。如果它是靜態(而不是通過插件)完成的,它看起來像這樣: # in RAILS_ROOT/app/controllers/stuffed_animals_controller.rb
class StuffedAnimalsController < ActionController::Base
private
de