Sha256: 265ac8cdf52ab08e1c0bf95ce6be29c7de78218df444d834456d688bf6e66ead

Contents?: true

Size: 366 Bytes

Versions: 28

Compression:

Stored size: 366 Bytes

Contents

class Admin::RefineryCoreController < Admin::BaseController

	def update_plugin_positions
	  params[:menu].each do |plugin_title|
			current_user.plugins.find_by_title(plugin_title).update_attribute(:position, params[:menu].index(plugin_title))
		end
	  render :nothing => true
  end
  
  def render_flash_messages
    render :partial => "/shared/message"
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.12 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.11 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.10 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.9 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.8 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.7 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.6 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.5 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.4 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.3 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.2 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5.1 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.5 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4.5 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4.4 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4.3 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4.2 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4.1 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.4 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb