Permalink
Browse files

Merge pull request #17 from manijain/master

add method person_details in application_helper.rb
  • Loading branch information...
2 parents 9ac0b05 + f5c318f commit cd0ad9086ff160f3e4abca022a1bfbe8210969dd @manijain manijain committed Apr 21, 2012
@@ -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
@@ -1 +0,0 @@
-rails.servertype=WEBRICK
No changes.
@@ -1,3 +0,0 @@
-platform.active=Ruby_1
-rails.port=3000
-source.encoding=UTF-8
View
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>org.netbeans.modules.ruby.railsprojects</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/rails-project/1">
- <name>learning_git</name>
- </data>
- </configuration>
-</project>

0 comments on commit cd0ad90

Please sign in to comment.