Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Redmine 1.4.X compatibility. refs #3.

  • Loading branch information...
commit 98dd5fceb9acc921d1d4f9d485953abff5fc4b2f 1 parent 5ec9508
@martin-denizet authored
View
2  app/controllers/attach_screenshot_controller.rb
@@ -4,7 +4,7 @@ class AttachScreenshotController < ApplicationController
unloadable
skip_before_filter :require_login
skip_before_filter :verify_authenticity_token
- accept_key_auth :index
+ accept_rss_auth :index
def index
path = "#{RAILS_ROOT}/tmp/"
View
3  config/routes.rb
@@ -0,0 +1,3 @@
+ActionController::Routing::Routes.draw do |map|
+ map.connect 'attach_screenshot', :controller => 'attach_screenshot', :action => 'index'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.