Sha256: d16721087a4b0ee7af1c8c61029fb4489c719ce6efb45aa4ae6ca7bd72c35611

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

class TemplatingController < AbstractController::Base
  include AbstractController::Logger
  include AbstractController::Rendering
  include AbstractController::Layouts
  include AbstractController::Helpers
  include AbstractController::Translation
  include AbstractController::AssetPaths
  include Rails.application.routes.url_helpers

  self.view_paths = 'app/views'
  self.assets_dir = 'app/public'

  helper ApplicationHelper,
         JennyHelper,
         Admin::ApplicationHelper,
         Admin::CoursesHelper,
         DocumentsHelper,
         VideosHelper,
         UsersHelper,
         UploadsHelper,
         DownloadsHelper,
         GroupsHelper,
         Admin::DepartmentsHelper,
         NavigationHelper

  public
    def r partial
      render :partial => partial
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
laces-0.1.0 templates/app/controllers/templating_controller.rb