Skip to content

Commit

Permalink
add method in application_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
manijain committed Apr 21, 2012
1 parent 4ef55fc commit f5c318f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/helpers/application_helper.rb
Expand Up @@ -9,5 +9,14 @@ def title(page_name)
title_name = "ruby on Rails "
end
end

def person_details(p_name)
if p_name == "manish"
puts "welcome"
else
puts "sorry, you are not authorized"
end
end

end
end

0 comments on commit f5c318f

Please sign in to comment.