Class: ApplicationController
- Inherits:
-
Voluntary::ApplicationController
- Object
- ActionController::Base
- Voluntary::ApplicationController
- ApplicationController
- Defined in:
- lib/generators/voluntary/install/templates/app/controllers/application_controller.rb,
lib/generators/voluntary/product_dummy/templates/app/controllers/application_controller.rb
Direct Known Subclasses
AreasController, CandidaturesController, CommentsController, HomeController, LikesController, OrganizationsController, PagesController, ProductsController, ProfessionsController, ProjectsController, ResultsController, StoriesController, TasksController, UsersController, VacanciesController, Workflow::CandidaturesController, Workflow::ProductsController, Workflow::ProjectOwnerController, Workflow::StoriesController, Workflow::TasksController, Workflow::User::Product::AreasController, Workflow::User::ProjectsController, Workflow::UserController, Workflow::VacanciesController, WorkflowController
Instance Method Summary collapse
Methods included from Voluntary::V1::BaseController
#parent, #voluntary_application_javascripts, #voluntary_application_repository_path, #voluntary_application_stylesheets
Methods included from Applicat::Mvc::Controller
Instance Method Details
#current_ability ⇒ Object
4 5 6 |
# File 'lib/generators/voluntary/install/templates/app/controllers/application_controller.rb', line 4 def current_ability @current_ability ||= super.merge(Application::Ability.new(current_user, controller_namespace: current_namespace)) end |