Sha256: f042866c3dc6d3a71cab97cc745c99d92482b1f75e7698810d440a0e21763f23

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

module Plugins::PostReorder::MainHelper
  def self.included(klass)
    # klass.helper_method [:my_helper_method] rescue "" # here your methods accessible from views
  end

  # here all actions on going to active
  # you can run sql commands like this:
  # results = ActiveRecord::Base.connection.execute(query);
  # plugin: plugin model
  def post_reorder_on_active(plugin)
  end

  # here all actions on going to inactive
  # plugin: plugin model
  def post_reorder_on_inactive(plugin)
  end

  # here all actions to upgrade for a new version
  # plugin: plugin model
  def post_reorder_on_upgrade(plugin)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
post_reorder-0.0.1 app/helpers/plugins/post_reorder/main_helper.rb