1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Solved issue #79

This commit is contained in:
kbparauga 2015-08-28 11:58:12 +08:00
parent 17781aaa60
commit bca7898cb8
2 changed files with 2 additions and 1 deletions

View file

@ -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',

View file

@ -8,6 +8,7 @@ class MainController < ApplicationController
# Override controller
def show
js false
js 'OtherMain', :x => 1
render :inline => 'Main#show', :layout => 'application'
end