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