Guest User

Untitled

a guest
May 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. def self.find_opplan(unit, language)
  2. @op = find(:first, :conditions => {:module => unit, :language => language})
  3. if @op
  4. if @op.language = 'English'
  5. "<%= link_to 'I', unit_url(#{@op.id}) %> "
  6. else
  7. "I "
  8. end
  9. end
  10. end
Add Comment
Please, Sign In to add comment