This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Pjax | |
| extend ActiveSupport::Concern | |
| included do | |
| layout lambda {|c| c.pjax_request? ? false : 'application' } | |
| end | |
| private | |
| def redirect_pjax_to(action, url = nil) | |
| new_url = url_for(url ? url : { :action => action }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| edison$ rails s | |
| /Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/pjax-rails-0.1.1/lib/pjax-rails.rb:1:in `require': /Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/pjax-rails-0.1.1/lib/pjax.rb:5: syntax error, unexpected '>' (SyntaxError) | |
| layout ->(c) { pjax_request? ? false : 'application' } | |
| ^ | |
| /Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/pjax-rails-0.1.1/lib/pjax.rb:5: syntax error, unexpected '{', expecting kEND | |
| layout ->(c) { pjax_request? ? false : 'application' } | |
| ^ | |
| /Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/pjax-rails-0.1.1/lib/pjax.rb:5: syntax error, unexpected '}', expecting kEND | |
| /Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/pjax-rails-0.1.1/lib/pjax.rb:10: odd number list for Hash | |
| new_url = url_for(url ? url : { action: action }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sass::SyntaxError in Main/cockpit#index | |
| Showing /Users/edison/Sites/beta.foco/app/views/layouts/application.html.haml where line #8 raised: | |
| Invalid CSS after "...: alpha(opacity": expected comma, was ":0);" | |
| Extracted source (around line #8): | |
| 5: %meta{'http-equiv' => 'Content-language', 'content' => I18n.locale} | |
| 6: %meta{'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=utf-8'} |
NewerOlder