Class: FaviconsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- FaviconsController
- Defined in:
- app/controllers/favicons_controller.rb
Instance Method Summary collapse
Instance Method Details
#browserconfig ⇒ Object
2 3 4 5 |
# File 'app/controllers/favicons_controller.rb', line 2 def browserconfig @tile_color = AllTheFavicons.ms_tile_color @tiles = AllTheFavicons::Tiles.all end |
#favicon ⇒ Object
11 12 13 |
# File 'app/controllers/favicons_controller.rb', line 11 def favicon redirect_to asset_path("favicon.ico") end |
#manifest ⇒ Object
7 8 9 |
# File 'app/controllers/favicons_controller.rb', line 7 def manifest render json: manifest_data.to_json end |