Class: Templates::TemplatesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Templates::TemplatesController
- Defined in:
- app/controllers/templates/templates_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/templates/templates_controller.rb', line 5 def index render :json => collect_templates end |
#mtime ⇒ Object
9 10 11 |
# File 'app/controllers/templates/templates_controller.rb', line 9 def mtime render :text => last_modify end |