Class: SprocketsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- SprocketsController
- Defined in:
- lib/sprockets_controller.rb,
app/controllers/sprockets_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
4 5 6 |
# File 'lib/sprockets_controller.rb', line 4 def show render :text => SprocketsApplication.source(params[:id]), :content_type => "text/javascript" end |