class Admin::ActivitiesController < OrbitMemberController layout "member_plugin" #include Admin::PersonalActivitiesHelper #before_action :set_writing_conference, only: [:show, :edit , :update, :destroy] #before_action :set_plugin #before_action :get_settings,:only => [:new, :edit, :setting] #before_action :need_access_right #before_action :allow_admin_only, :only => [:index, :setting] def index @activities = Activity.all.page(params[:page]).per(10) respond_to do |format| format.html format.xml { render :xml => @activities } end end end