Sha256: a4ce1021b62361771866b95c5b6bff5f6221f624fc0f4f58772182aa3ae6850e
Contents?: true
Size: 358 Bytes
Versions: 3
Compression:
Stored size: 358 Bytes
Contents
module Nivo class ManageSlidesController < ApplicationController if defined?(Dust::Application) filter_access_to :all layout 'cms' end unloadable def create Nivo::Slide.sort(params[:slides]) flash[:notice] = "Successfully sorted slides." redirect_to nivo_slides_url(:format => 'js') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nivo-0.0.4 | app/controllers/nivo/manage_slides_controller.rb |
nivo-0.0.3 | app/controllers/nivo/manage_slides_controller.rb |
nivo-0.0.2 | app/controllers/nivo/manage_slides_controller.rb |