Module: Hitchens

Defined in:
lib/hitchens.rb,
lib/hitchens/engine.rb,
lib/hitchens/version.rb,
app/models/hitchens/post.rb,
app/models/hitchens/ability.rb,
app/decorators/hitchens/post_decorator.rb,
app/helpers/hitchens/application_helper.rb,
app/controllers/hitchens/posts_controller.rb,
app/decorators/hitchens/application_decorator.rb,
app/controllers/hitchens/admin/base_controller.rb,
app/controllers/hitchens/admin/posts_controller.rb,
app/controllers/hitchens/application_controller.rb

Defined Under Namespace

Modules: Admin, ApplicationHelper Classes: Ability, ApplicationController, ApplicationDecorator, Engine, Post, PostDecorator, PostsController

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.user_classObject



35
36
37
# File 'lib/hitchens.rb', line 35

def self.user_class
  user_class_name.constantize
end