1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class ProfileEmailTemplatesController < EmailTemplatesController
needs_profile
protect 'manage_email_templates', :profile
protected
def owner
profile
end
before_filter :only => :index do
@back_to = url_for(:controller => :profile_editor)
end
end
|