Class: Refinery::Admin::DialogsController

Inherits:
Refinery::AdminController show all
Defined in:
core/app/controllers/refinery/admin/dialogs_controller.rb

Direct Known Subclasses

PagesDialogsController

Constant Summary

TYPES =
%w[image link]

Instance Method Summary collapse

Methods included from BaseController

#admin?, included, #refinery_admin_root_path, #searching?

Methods included from Refinery::ApplicationController

#admin?, #current_refinery_user, #error_404, #home_page?, included, #local_request?

Instance Method Details

#from_dialog?Boolean



16
17
18
# File 'core/app/controllers/refinery/admin/dialogs_controller.rb', line 16

def from_dialog?
  true
end

#indexObject



8
9
10
# File 'core/app/controllers/refinery/admin/dialogs_controller.rb', line 8

def index
  redirect_to Refinery::Core.backend_path
end

#showObject



12
13
14
# File 'core/app/controllers/refinery/admin/dialogs_controller.rb', line 12

def show
  render :layout => false
end