Sha256: 94c2c4e5a9596205f404b229021d54a97b566094ed2a4cf258e820bf8f1ccc22

Contents?: true

Size: 373 Bytes

Versions: 53

Compression:

Stored size: 373 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

53 entries across 53 versions & 2 rubygems

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.34 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.33 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.32 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.31 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.30 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.29 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.28 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.27 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.26 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.25 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.24 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.23 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.22 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.21 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.19 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.18 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.17 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.16 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb
refinerycms-0.9.6.15 vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb