Permalink
Browse files

Removed delayed job implementation

  • Loading branch information...
1 parent 32a5425 commit 1d68d29c7c6a695a3df433c5da77682fd7ffcda9 @karlbright karlbright committed Oct 18, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/controllers/stylesheets_controller.rb
@@ -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

0 comments on commit 1d68d29

Please sign in to comment.