Module: Sinja::Helpers::Nested

Defined in:
lib/sinja/helpers/nested.rb

Instance Method Summary collapse

Instance Method Details

#defer(msg = nil) ⇒ Object


5
6
7
# File 'lib/sinja/helpers/nested.rb', line 5

def defer(msg=nil)
  halt DEFER_CODE, msg
end

#relationship_link?Boolean

Returns:

  • (Boolean)

9
10
11
# File 'lib/sinja/helpers/nested.rb', line 9

def relationship_link?
  !params[:r].nil?
end