Class: Georgia::SlidesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Georgia::SlidesController
- Defined in:
- app/controllers/georgia/slides_controller.rb
Instance Method Summary collapse
-
#new ⇒ Object
Renders new portlet for revisions#edit.
Methods inherited from ApplicationController
#current_ability, #current_locale
Instance Method Details
#new ⇒ Object
Renders new portlet for revisions#edit
5 6 7 8 9 |
# File 'app/controllers/georgia/slides_controller.rb', line 5 def new @slide = Slide.new() @content = @slide.contents.build(locale: current_locale) render layout: false end |