Class: RailsSandboxBusterjs::BusterFilter
- Inherits:
-
Object
- Object
- RailsSandboxBusterjs::BusterFilter
- Defined in:
- lib/rails-sandbox-busterjs/engine.rb
Class Method Summary collapse
Class Method Details
.filter(controller) ⇒ Object
3 4 5 |
# File 'lib/rails-sandbox-busterjs/engine.rb', line 3 def self.filter(controller) controller.template = 'busterjs/runner' if controller.params[:path].try :start_with?, 'busterjs' end |