Class: FeedbackController

Inherits:
ApplicationController show all
Defined in:
vendor/plugins/blacklight/app/controllers/feedback_controller.rb

Instance Method Summary (collapse)

Methods inherited from ApplicationController

#current_user, #default_html_head, #error, #extra_head_content, #javascript_includes, #stylesheet_links, #user_class

Methods included from HydraAccessControlsHelper

#editor?, #reader?, #test_permission

Instance Method Details

- (Object) show

show the feedback form



7
8
9
10
11
12
13
14
15
# File 'vendor/plugins/blacklight/app/controllers/feedback_controller.rb', line 7

def show
  @errors=[]
  if request.method==:post
    if validate
      Notifier.deliver_feedback(params)
      redirect_to 
    end
  end
end