Class: Dust::SiteWidesController
- Inherits:
-
AuthenticationController
- Object
- ActionController::Base
- AuthenticationController
- Dust::SiteWidesController
- Defined in:
- app/controllers/dust/site_wides_controller.rb
Instance Method Summary collapse
Methods inherited from AuthenticationController
#not_authenticated, #permission_denied, #try_return_to_previous_page
Instance Method Details
#create ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'app/controllers/dust/site_wides_controller.rb', line 11 def create @site_wide = Dust::SiteWide.new(params[:dust_site_wide]) if @site_wide.save redirect_to dust_dashboard_path else render :action => :new end end |