Permalink
Browse files

Redmine 1.4.X compatibility. refs #3.

  • Loading branch information...
1 parent 5ec9508 commit 98dd5fceb9acc921d1d4f9d485953abff5fc4b2f @martin-denizet committed Apr 12, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 app/controllers/attach_screenshot_controller.rb
  2. +3 −0 config/routes.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
@@ -0,0 +1,3 @@
+ActionController::Routing::Routes.draw do |map|
+ map.connect 'attach_screenshot', :controller => 'attach_screenshot', :action => 'index'
+end

0 comments on commit 98dd5fc

Please sign in to comment.