orbit-basic/app/controllers/admin/module_apps_controller.rb

15 lines
275 B
Ruby

class Admin::ModuleAppsController < ApplicationController
layout "admin"
def index
@module_apps = ModuleApp.all.entries
end
def reload_frontend_pages
@module_app = ModuleApp.find(params[:id])
respond_to do |format|
format.js {}
end
end
end