cirandas.net

ref: dockerize

app/controllers/admin/environment_email_templates_controller.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
class EnvironmentEmailTemplatesController < EmailTemplatesController

  protect 'manage_email_templates', :environment

  protected

  def owner
    environment
  end

  before_filter :only => :index do
    @back_to = url_for(:controller => :admin_panel)
  end

end