Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

admin_panel_controller.rb 364B

    class AdminPanelController < ApplicationController layout 'admin' def index redirect_to admin_dashboard_path end def dashboard @users = User.all @posts = BlogPost.all @files = Upload.all end def posts @posts = BlogPost.all end def users @users = User.all end def files @uploads = Upload.all end end