Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def self.find_opplan(unit, language)
- @op = find(:first, :conditions => {:module => unit, :language => language})
- if @op
- if @op.language = 'English'
- "<%= link_to 'I', unit_url(#{@op.id}) %> "
- else
- "I "
- end
- end
- end
Add Comment
Please, Sign In to add comment