Class: BumbleworksController

Inherits:
Bumbleworks::Rails::ApplicationController show all
Includes:
Bumbleworks::Rails::TasksHelper
Defined in:
app/controllers/bumbleworks_controller.rb

Direct Known Subclasses

Bumbleworks::Rails::TasksController

Instance Method Summary collapse

Methods included from Bumbleworks::Rails::TasksHelper

#entity_task_path, #entity_task_url, #entity_tasks_path, #entity_tasks_url, #render_task_partial, #task_name

Instance Method Details

#render_404Object



8
9
10
# File 'app/controllers/bumbleworks_controller.rb', line 8

def render_404
  render :text => 'page not found', :status => 404
end

#render_unauthorizedObject



4
5
6
# File 'app/controllers/bumbleworks_controller.rb', line 4

def render_unauthorized
  render :text => I18n.t('bumbleworks.unauthorized'), :status => :unauthorized
end