Sha256: 36fd40bf7deb1b7121cfbad46223e64ebc835c9b9999e14065930edde4423946

Contents?: true

Size: 735 Bytes

Versions: 12

Compression:

Stored size: 735 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
class Admin::PluginsController < Admin::ApplicationController
  before_action :setup_current_tab, only: [:index]

  # GET /admin/plugins
  # GET /admin/plugins.xml
  #----------------------------------------------------------------------------
  def index
    @plugins = FatFreeCRM::Plugin.list

    respond_with(@plugins)
  end

  protected

  def setup_current_tab
    set_current_tab('admin/plugins')
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.22.0 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.21.0 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.20.1 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.20.0 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.19.2 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.19.0 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.18.2 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.17.3 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.18.1 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.18.0 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.17.2 app/controllers/admin/plugins_controller.rb