Sha256: 40f609b44cbc6a3e4384555fb0968e353e71cd54466d0ea5ca8d2cb6534f3473

Contents?: true

Size: 704 Bytes

Versions: 3

Compression:

Stored size: 704 Bytes

Contents

# 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

3 entries across 3 versions & 1 rubygems

Version Path
fat_free_crm-0.16.4 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.16.3 app/controllers/admin/plugins_controller.rb
fat_free_crm-0.16.2 app/controllers/admin/plugins_controller.rb