Skip to content

Commit

Permalink
Uploader now subclassed from ActionController::Base, not ApplicationC…
Browse files Browse the repository at this point in the history
…ontroller

Being subclassed from ApplicationController caused some helper methods to not work. (See maxgillett#36)
  • Loading branch information
michaelkeenan committed Aug 27, 2015
1 parent 2866fdc commit 40946ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/s3_multipart/templates/uploader.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class <%= model_constant %>Uploader < ApplicationController
class <%= model_constant %>Uploader < ActionController::Base
extend S3Multipart::Uploader::Core
# Attaches the specified model to the uploader, creating a "has_one"
Expand Down

0 comments on commit 40946ae

Please sign in to comment.