mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Solved issue #79
This commit is contained in:
parent
17781aaa60
commit
bca7898cb8
2 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,7 @@ module Paloma
|
|||
# will execute the tracked Paloma requests.
|
||||
#
|
||||
def insert_paloma_hook
|
||||
return true if self.paloma.has_no_request?
|
||||
return nil if self.paloma.has_no_request?
|
||||
|
||||
hook = view_context.render(
|
||||
:partial => 'paloma/hook',
|
||||
|
|
|
@ -8,6 +8,7 @@ class MainController < ApplicationController
|
|||
|
||||
# Override controller
|
||||
def show
|
||||
js false
|
||||
js 'OtherMain', :x => 1
|
||||
render :inline => 'Main#show', :layout => 'application'
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue