Class: Glib::HomeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Glib::HomeController
- Defined in:
- app/controllers/glib/home_controller.rb
Instance Method Summary collapse
Instance Method Details
#json_ui_garage ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/glib/home_controller.rb', line 8 def json_ui_garage @path_prefix = 'json_ui/garage' # We can't use prepend_view_path because it affects the app, not the gem path = "#{@path_prefix}/#{params[:path] || 'home/index'}" render path end |