Sha256: 1dfa2d07d42e36f7e29a92b4d0de397670b9834eb914e1621f7dfb5dec87f85c

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

class SimpleContentManagement::LinkBannersController < InheritedResources::Base
	defaults :resource_class => SimpleContentManagement::LinkBanner
	include SimpleAdminPanel::ControllerExtensions
	alias_method_chain :collection, :search_and_pagination
	layout false

	def create
		create! do |success, failure|
			success.html do
				render "show" and return
			end
		end
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
th_simple_content_management-0.2.7 app/controllers/simple_content_management/link_banners_controller.rb
th_simple_content_management-0.2.6 app/controllers/simple_content_management/link_banners_controller.rb
th_simple_content_management-0.2.5 app/controllers/simple_content_management/link_banners_controller.rb
th_simple_content_management-0.2.4 app/controllers/simple_content_management/link_banners_controller.rb
th_simple_content_management-0.2.3 app/controllers/simple_content_management/link_banners_controller.rb