Orbit/app/controllers/admin/plugins_controller.rb

18 lines
429 B
Ruby
Raw Normal View History

2012-09-13 10:13:34 +00:00
class Admin::PluginsController < ApplicationController
layout "new_admin"
def index
2012-10-15 07:30:48 +00:00
@plugins = OrbitApp::Module::Registration.all
if(!params[:show_plugin_profile].nil?)
@right_partial = OrbitApp::Plugin::Registration.find_by_key(params[:show_plugin_profile]).profile_partial_path rescue 'plugin_summary'
else
@right_partial = "admin/users_new_interface/plugin_summary"
end
2012-09-13 10:13:34 +00:00
end
end