Skip to content

Commit

Permalink
Removed delayed job implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
karlbright committed Oct 18, 2012
1 parent 32a5425 commit 1d68d29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/controllers/stylesheets_controller.rb
Expand Up @@ -18,14 +18,14 @@ def new

def create
@stylesheet = Stylesheet.create params[:stylesheet]
@stylesheet.delay.generate!
flash[:notice] = "Stylesheet will be generated soon..."
#@stylesheet.delay.generate!
@stylesheet.generate!
respond_with @stylesheet, location: stylesheets_path
end

def generate
@stylesheet.delay.generate!
flash[:notice] = "Stylesheet will be generated soon..."
#@stylesheet.delay.generate!
@stylesheet.generate!
respond_with @stylesheet, location: stylesheets_path
end

Expand Down

0 comments on commit 1d68d29

Please sign in to comment.