Class: Ecrire::ThemeController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Ecrire::ThemeController
- Defined in:
- lib/ecrire/app/controllers/ecrire/theme_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from ApplicationController
#current_user, #signed_in?, #url
Instance Method Details
#index ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/ecrire/app/controllers/ecrire/theme_controller.rb', line 13 def index respond_to do |format| format.html format.rss format.json do headers['Access-Control-Allow-Origin'] = '*' end end end |
#show ⇒ Object
23 24 |
# File 'lib/ecrire/app/controllers/ecrire/theme_controller.rb', line 23 def show end |