Class: RailsIcons::SpritesController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- RailsIcons::SpritesController
- Defined in:
- app/controllers/rails_icons/sprites_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/rails_icons/sprites_controller.rb', line 5 def show respond_to do |format| format.svg { render plain: Icons::Sprite.new.svg, content_type: "image/svg+xml" } end end |